Remove null option for boolean field

hello,

i was wondering if there was a way to prevent the null option for boolean fields when editing a record or creating a new one. for now i have a constraint set on the DB level but its not being reflected on the forest admin UI.

is there a way the boolean checkbox would only switch between true and false and not show the Null option?

Hello @huss,

Thanks for your message :raised_hands:

Unfortunately, as stated in this topic, this not possible to remove the null option when editing a checkbox for now.

I am pushing a Product request in our roadmap so that I could be done in the future.

Thank you!

3 Likes