Hi guys,
When trying to add an onChange event to the TextField@2.0.0 component it seems that the newly onChange property doesn’t override the fieldProps´ onChange property and the error prop doesn’t get updated.
How can React state be handled and keep the validate function working properly?
Sandbox : @atlaskit/form-00-signup-form - CodeSandbox
The idea is to uncomment line 53 inside the example.js file and keep the current behavior, which is, triggering the error when putting numbers below 0 and above 10 000.
Cheers,
Luis Mendes