-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I have a tinyInteger field that I'm using the InlineSelect field on.
The value can be between 0 and 5
The field looks like this:
InlineSelect::make('Account Level')
->options(function () {
return [
0 => 'Normal User',
1 => 'Backer',
2 => 'Moderator',
3 => 'Tester',
4 => 'Admin',
5 => 'Super Admin',
];
})
->displayUsingLabels()
->inlineOnIndex()
->inlineOnLens()
->inlineOnDetail()
->disableTwoStepOnIndex()
->disableTwoStepOnLens()
->disableTwoStepOnDetail();
If the value is anything but 0, it correctly selects the currently selected option, but if the value is 0, it fails to select 'Normal User' and instead selects the Choose an option option
Any idea on how to remedy this?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels