ash-project/ash_admin

Can't unset required boolean values in the admin panel

Closed this issue · 2 comments

Describe the bug
I have:

    attribute :demo_mode, :boolean, allow_nil?: false, default: false

When I try to set this value to false in the admin panel after it's been set, it says "is invalid" or "is required" and won't let me unset it.

Expected behavior
I can set the value to false.

Runtime

  • Elixir version: 1.15
  • Erlang version: 25
  • OS: Linux
  • Ash version: 2.13.3
  • any related extension versions
    ash_admin: 0.9.4

Closing this issue. @hanrelan could you please confirm this fixes your issue?

Confirmed it's fixed!