New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support radio buttons and button group #9860
Conversation
is it released or is it going to be released? |
@zepfietje but in commits, this is mention in Readme.md file. Radio::make('status')
->buttonGroup()
->options([
'draft' => 'Draft',
'scheduled' => 'Scheduled',
'published' => 'Published'
])
->colors([
'draft' => 'warning',
'scheduled' => 'info',
'published' => 'success',
]) I like this because it also supports enum and I've so many Radio buttons in my project that I would have to replace it now wherever I need it. So I'm wondering if there is any reason this was not added or removed after adding because this commit has the code to make this work. |
The implementation was changed after. It still supports enums |
Buttons (with
inline()
)Screen.Recording.2023-11-30.at.17.43.14.mov
Button group
Screen.Recording.2023-11-30.at.17.44.49.mov