fix: remove type="number" from amount input, use text input like postal_code

- Follow same pattern as postal_code field in member form
- Ash validates Decimal format automatically
- Text input allows better control and validation feedback
This commit is contained in:
Moritz 2025-12-16 12:54:37 +01:00
parent 10fe866de6
commit 97c9ef670b
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -42,11 +42,7 @@ defmodule MvWeb.MembershipFeeTypeLive.Form do
<.input
field={@form[:amount]}
type="number"
label={gettext("Amount")}
step="0.01"
min="0"
phx-debounce="300"
required
/>