Skip to content
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

[InputDate] onChange is not called when you empty the value #1357

Closed
EmilienSanterre opened this issue Feb 16, 2017 · 1 comment
Closed

[InputDate] onChange is not called when you empty the value #1357

EmilienSanterre opened this issue Feb 16, 2017 · 1 comment
Assignees

Comments

@EmilienSanterre
Copy link
Contributor

<InputDate onChange={this._onChangeDateRatt} value={dateRattForm} error={errorRatt} format={format} label={translate('contrat.dateRattachement')} />

Current behaviour

if I chose a value, _onChangeDateRatt is called but not when i empty the value.

Expected behaviour

_onChangeDateRatt should be called whenever the value changes

Versions

Focus-core: 2.1.1
Focus-components: 2.1.4

@Hartorn
Copy link
Contributor

Hartorn commented May 30, 2017

Fixed in 2.1.7

@Hartorn Hartorn closed this as completed May 30, 2017
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

No branches or pull requests

3 participants