value int zero (0) is dropped when type-casting is active
Closed this issue · 0 comments
tzelleke commented
when options to the field have integer keys including zero, like:
[
0 => 'Administrator',
1 => 'Moderator',
2 => 'Subscriber',
3 => 'Super administrator'
];
then the field silently drops the zero value when the field fills the attribute