feat: add phx-debounce to amount input for real-time validation
- Debounce validation to 300ms for better UX - Ash will automatically validate Decimal format - Provides immediate feedback on invalid input
This commit is contained in:
parent
acfbd8f62b
commit
10fe866de6
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ defmodule MvWeb.MembershipFeeTypeLive.Form do
|
|||
label={gettext("Amount")}
|
||||
step="0.01"
|
||||
min="0"
|
||||
phx-debounce="300"
|
||||
required
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue