F
Filament10mo ago
Jap

Text Input Columns Confirmation

How can i add confirmation before saving ?
5 Replies
gladjanus43
gladjanus4310mo ago
->requiresConfirmation()
Jap
JapOP10mo ago
got an error after adding the method
No description
toeknee
toeknee10mo ago
Because TextInputColiumn doesn't allow confirmations. it's too much html per column
gladjanus43
gladjanus4310mo ago
Would be a nice feature. Cant you acomplish this with updateStateUsing and calling an action?
toeknee
toeknee10mo ago
Not really, since that action would require you process it later on. TextColumns update on type / out of focus and updateStateUsing would then need to trigger a confirmation modal. I would say maybe to re-work, remove live and then have a button to save changes which triggers a native livewire confirmation for performance and simplicity.
Want results from more Discord servers?
Add your server