F
Filamentβ€’2y ago
Resonance

Disable "Create" button

Is there anyway to disable create/create and create another button on the form based on certain condition?
4 Replies
Dan Harrin
Dan Harrinβ€’2y ago
you can return true or false from the method? what have you tried?
Resonance
ResonanceOPβ€’2y ago
So I wrap the return form method with conditional statement? Disabling form fields based on condition πŸ˜†
pechtelt
pechteltβ€’2y ago
You can add an function in the resource called canCreate() and return true/false
Resonance
ResonanceOPβ€’2y ago
Thanks!
Want results from more Discord servers?
Add your server