@atlaskit/form@6.0.0 adding onChange event handler to FieldText disables error property

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 : https://codesandbox.io/s/mqr8jk2lrj

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