-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MoneyInput and convert field tests #357
Conversation
Hm, did you look into overriding the |
Sorry, I don't get what you're trying to say 😕 Maybe there's confusion to what this is solving? This PR is not about #330. The description of this PR was pretty sparse, so let me make up for it now 👼 This PR fixes the This also meant that errors would never be displayed as we check the touched-state before showing them. Here is the fixed version where You'll notice that Further, Why we need the
|
This also fixes the regression of onBlur not being called.
Further converts tests to react-testing-library.
d90b192
to
c68e3cf
Compare
c68e3cf
to
375c76f
Compare
Let's follow up with the label suggestion in case I misunderstood what you were saying. |
Features
onFocus
toMoneyInput
andMoneyField
Fixes
onBlur
being called properly inMoneyInput
. This was a regression somewhere after Redo MoneyInput (better UX, less error cases) #175Tests
LocalizedTextField
&LocalizedMultilineTextField
&MoneyField