Catalogue 0.44.1: Zero quantities clear when you click in
Catalogue 0.44.1 makes quantity fields in the item selector easier to type into: a field showing zero now empties when you click into it, so typing 8 gives 8, not 08.
Leaving the field empty puts the zero back. It works the same way as PhoenixKit core’s number input. Along with it:
- A zero that emptied on focus is no longer lost when the field redraws while you are in it.
- Pressing Enter in the emptied field commits zero, not an empty value.
- If you type a quantity and then erase it, the row goes back to zero as soon as you leave the field, instead of keeping the erased amount.
No change in requirements. Update the dependency.
Full release notes: Catalogue 0.44.1
0.44.1 · 22 September 2026
Review: dev_docs/pull_requests/2026/134-qty-zero-clears-on-focus/.
Built against phoenix_kit 2.37.3; the floor stays at 2.34.0.
Changed
- In the item selector, a quantity field showing zero now empties when you
click into it, so typing
8gives8, not08. Leaving the field empty puts the zero back (#134). It works the same way as core’sdecimal_input.
Fixed
- A zero that emptied on focus is no longer lost when the field re-renders while you are in it.
- Pressing Enter in the emptied field now commits the zero, not an empty value.
- If you type a quantity and then erase it, the row now goes back to zero as soon as you leave the field, instead of keeping the erased amount.
Catalogue 0.44.1. Install or update: {:phoenix_kit_catalogue, "~> 0.44"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.