react-toolkit icon indicating copy to clipboard operation
react-toolkit copied to clipboard

fix(date): call onChange with a null value when the date input is cle…

Open EmmanuelDemey opened this issue 2 years ago • 1 comments

…ared

Related issue

Reference to the issue

close #1002

Description of the issue

The date input call the onChange prop even when the "clear" native behavior is clicked. The component will send a null value.

Person(s) for reviewing proposed changes

@lilian-delouvy

Important

Before creating a pull request run unit tests

$ npm test

# watch for changes
$ npm test -- --watch

# For a specific file (e.g., in packages/context/__tests__/command.test.js)
$ npm test -- --watch packages/action

EmmanuelDemey avatar May 09 '23 09:05 EmmanuelDemey

@MartinWeb ajouter des tests avant prise en compte

MartinWeb avatar Sep 05 '23 14:09 MartinWeb

Correction mergée au sein de cette PR : https://github.com/AxaFrance/react-toolkit/pull/1173

MartinWeb avatar Apr 11 '24 09:04 MartinWeb