This commit is contained in:
rizky 2024-11-22 00:12:11 -07:00
parent 5d1c8ca4cd
commit f458d4e46c
2 changed files with 8 additions and 5 deletions

View File

@ -170,8 +170,10 @@ export const FieldTypeInput: FC<{
}}
placeholder={arg.placeholder || ""}
onBlur={() => {
if (field) {
field.focused = false;
field.render();
}
}}
/>
);

View File

@ -74,9 +74,10 @@ export const FieldMoney: FC<{
}}
placeholder={arg.placeholder || ""}
onBlur={(e) => {
field.focused = false;
if (field) {
input.render();
field.render();
}
prop.onBlur?.(e);
}}
/>