F
Filament17mo ago
mszabeh

Use createOptionForm and createOptionAction in Radio Field

How we can use createOptionForm and createOptionAction in Radio Field?
9 Replies
toeknee
toeknee17mo ago
I don't get why you would want too? Creation on a radios.. There is only 1 value? You can use action for loading a form however I believe
mszabeh
mszabeh17mo ago
I want to Have + icon to add new record
mszabeh
mszabeh17mo ago
such this but for Radio not for Select
toeknee
toeknee17mo ago
I can't see an easy way to do that since you are using radio fields for states, usually it would be a select? A select would be preferable with coloured options to me.
mszabeh
mszabeh17mo ago
we need to show radio same as this
toeknee
toeknee17mo ago
How do you mean?
Dennis Koch
Dennis Koch17mo ago
#radio-button probably
mszabeh
mszabeh17mo ago
yes
mszabeh
mszabeh17mo ago
https://github.com/suleymanozev/filament-radio-button-field but createOptionForm not in this plugin
GitHub
GitHub - suleymanozev/filament-radio-button-field: The radio button...
The radio button field for the Filament forms. Contribute to suleymanozev/filament-radio-button-field development by creating an account on GitHub.