add button from form

is there any way to add and controll button inside form?
7 Replies
Filament
Filament2y ago
Please ask about the actual problem you're trying to solve, instead of your attempted solution. https://xyproblem.info
saeed
saeedOP2y ago
i have login page with email/password or mobile/optcode
LeandroFerreira
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
saeedOP2y 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
Use config/filament.php to overrride the Login::class in 'pages' => [] You can copy the view login and customize what you need
saeed
saeedOP2y ago
i know that but i want to know how i can do it with filament form builder
LeandroFerreira
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

Did you find this page helpful?