🐛 fix(forms): Add step attribute to number inputs for better value control

This commit is contained in:
web@ppanel
2025-03-17 22:47:42 +07:00
parent aa1d42651d
commit b8f4f1e694
4 changed files with 20 additions and 5 deletions
@@ -319,7 +319,8 @@ export default function PaymentForm<T>({
}}
defaultValue={field.value}
value={field.value}
disabled={isEdit}
// @ts-expect-error
disabled={isEdit && Boolean(initialValues?.platform)}
>
<FormControl>
<SelectTrigger>