F
Filament17mo ago
saeed

add button from form

is there any way to add and controll button inside form?
7 Replies
Filament
Filament17mo ago
Please ask about the actual problem you're trying to solve, instead of your attempted solution. https://xyproblem.info
saeed
saeedOP17mo ago
i have login page with email/password or mobile/optcode
LeandroFerreira
LeandroFerreira17mo ago
This topic can help you https://discord.com/channels/883083792112300104/1134059696970539018/1134142053639536650 Create a view, use x-filament::button> and use the View Layout component or ViewField to render the button.
saeed
saeedOP17mo ago
i want if i click on login with mobile then user input his number then in back an opt send to user then in front mobile field be diable then user enter the opt and login is there a way to all with form builder ?
LeandroFerreira
LeandroFerreira17mo ago
Use config/filament.php to overrride the Login::class in 'pages' => [] You can copy the view login and customize what you need
saeed
saeedOP17mo ago
i know that but i want to know how i can do it with filament form builder
LeandroFerreira
LeandroFerreira17mo ago
Like this, using the phone number, right? This plugin can help you.. https://filamentphp.com/plugins/password-less-login
Filament
Password-less login by Arthur Minasyan - Plugins - Filament
Password-less login for Filament
Want results from more Discord servers?
Add your server