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:
Moritz 2025-12-16 12:52:40 +01:00
parent acfbd8f62b
commit 10fe866de6
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -46,6 +46,7 @@ defmodule MvWeb.MembershipFeeTypeLive.Form do
label={gettext("Amount")}
step="0.01"
min="0"
phx-debounce="300"
required
/>