CRUD: [Bug] Radio buttons do not work correctly
Bug report
What I did
'name' => 'some_boolean_var',
'type' => 'radio',
'options' => [
0 => 'Something...',
1 => 'Something else...',
],
'inline' => true,
'label' => 'Some label',
'tab' => 'Some tab',
What I expected to happen

What happened

What I’ve already tried to fix it
'default' => 0,
Backpack, Laravel, PHP, DB version
- Backpack 4.1
- Laravel 7+
- PHP 7.4
- PostgreSQL 12+
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (12 by maintainers)
Wow that’s interesting, thanks for pitching in @lucidlive .
@NikitaMakovey - any chance you had this attribute casted as
booleaninside your Model?