You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have a feature during my work: set a field's value to undefined
like a custom data picker, users can click the X button to clear the value so I need to set the data to undefined and show the error message. I know we can reset the field, but what if it has an initial value?
Describe the solution you'd like
Maybe add a parameter in the function resetField to let me set the reset value.
Describe alternatives you've considered
Additional context
BTW this works, but our team doesn't want to use type cast: setData("dob", e!);
This a screenshot for this
Great thanks!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have a feature during my work: set a field's value to undefined
like a custom data picker, users can click the
X
button to clear the value so I need to set the data to undefined and show the error message. I know we can reset the field, but what if it has an initial value?Describe the solution you'd like
Maybe add a parameter in the function
resetField
to let me set the reset value.Describe alternatives you've considered
Additional context
BTW this works, but our team doesn't want to use type cast:
setData("dob", e!);
This a screenshot for this
Great thanks!
The text was updated successfully, but these errors were encountered: