Skip to content

PhoenixKit 2.38.1: A bare decimal input for modules

PhoenixKit 2.38.1 adds one option for module and app developers and changes nothing on a running site.

<.decimal_input bare> renders the input on its own, without the wrapper, label, unit suffix, error list or full width. A module can then place it inside its own group, such as a daisyUI join with a unit button, or in a table cell. The bare input keeps the decimal keyboard, the handlers that clear a zero and the error style. A label given to a bare input becomes its aria-label, unless one is passed.

Full release notes: PhoenixKit 2.38.1

2.38.1 · 24 September 2026

Added

  • <.decimal_input bare> (#867) renders the control alone, with no wrapper, label, unit suffix, error list or full width, for a host that places it in a group of its own (a daisyUI join with a unit button, a table cell). It keeps the text and decimal keyboard, no autofill, the zero-clearing handlers and input-error. A label given to a bare control becomes its aria-label, unless the host passes one.

PhoenixKit 2.38.1. Install or update: {:phoenix_kit, "~> 2.38"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.