You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ! Thank you for your package ! This is great :)
Unfortunately i have a problem :( wich is that the boolean fields doesn't read correct boolean values in the database. For exemple i set this fields :
Boolean::make('Présence sur page d\'accueil', 'is_on_home')
->translatable()
->hideFromIndex(),
Boolean::make('Bannière accueil', 'is_on_banner')
->translatable()
->hideFromIndex(),
Boolean::make('Est mis en avant sur la page d\'accueil', 'is_highlighted')
->translatable()
->hideFromIndex(),
The data is correctly stored in the database (here i unchecked all cheboxes) :
Hi ! Thank you for your package ! This is great :)
Unfortunately i have a problem :( wich is that the boolean fields doesn't read correct boolean values in the database. For exemple i set this fields :
The data is correctly stored in the database (here i unchecked all cheboxes) :
is_on_home :
{"fr":"0","es":"0","ma":"0"}
is_on_banner :
{"fr":"0","es":"0","ma":"0"}
is_highlighted :
{"fr":"0","es":"0","ma":"0"}
But when i navigate to the nova admin, my field's values are always displayed as true :
Do you have any idea where this might have come from?
Thank you for your help and time !
The text was updated successfully, but these errors were encountered: