Skip to content

Conversation

@diegoolavarria
Copy link
Contributor

When state in parent form is cleaned, field DateText expect onBlur event to ve cleaned, opposite to other kinds of fields that are updated automatically, because this.props.value still exists.

It checks normally if the input is valid according to the date format. When the parent form state is updated, the field receive its value as prop, checks if it has the format, and set the input as empty

When state in parent form is cleaned, field DateText expect onBlur event to ve cleaned, opposite to other kinds of fields that are updated automatically, because this.props.value still exists.

It checks normally if the input is valid according to the date format. When the parent form state is updated, the field receive its value as prop, checks if it has the format, and set the input as empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants