shadcn-zod-formkit 1.27.0 → 1.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -4740,9 +4740,9 @@ var FieldTextGroup = ({ form, input, isSubmitting }) => {
|
|
|
4740
4740
|
if (isNumberField) {
|
|
4741
4741
|
value = e.target.value === "" ? "" : Number(e.target.value);
|
|
4742
4742
|
}
|
|
4743
|
-
handleOnChage(value, input, field);
|
|
4744
4743
|
field.onChange(value);
|
|
4745
4744
|
isValidField(input, form);
|
|
4745
|
+
handleOnChage(value.trimStart(), input, field);
|
|
4746
4746
|
}
|
|
4747
4747
|
}
|
|
4748
4748
|
),
|