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:
parent
10fe866de6
commit
97c9ef670b
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue