PhoenixKit 2.22.14: Yes-or-no custom fields get a real checkbox
PhoenixKit 2.22.14 fixes yes-or-no (boolean) custom user fields.
On a user’s own profile settings page, such a field had no checkbox. It showed a text box with the raw value, true or false, which the user could change to anything. It is now a checkbox.
On the admin edit form, the same field showed two labels: the field’s name and type above, and a general “Enable this option” next to the checkbox. It now shows one checkbox labelled with the field’s own name.
Full release notes: PhoenixKit 2.22.14
2.22.14 · 9 September 2026
Fixed
- A boolean custom field on the user’s own
/profile/settingspage had no checkbox at all. The self-service custom-fields form had no"boolean"clause, so a boolean field fell through to the generic text-input default — the account holder saw (and could freely retype) the raw"true"/"false"value instead of a checkbox. The admin edit form already had a checkbox for this type; the profile page now does too.
Changed
- A boolean custom field on the admin edit form no longer shows two redundant labels. The generic “Label / Type” header above every field plus the checkbox’s own generic “Enable this option” label meant a field named e.g. “Approved for Wood Matrix” rendered as “Approved for Wood Matrix / Boolean” followed by an unrelated “[ ] Enable this option”. A boolean field now renders as a single checkbox labeled with the field’s own label, matching how a checkbox is normally presented.
PhoenixKit 2.22.14. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.