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

fix(date): update onChange to handle null value when date input is cleared

Open ElammariYoussef opened this issue 1 year ago • 2 comments

Related issue

Reference to the issue

https://github.com/AxaFrance/react-toolkit/issues/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.

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

ElammariYoussef avatar Mar 05 '24 13:03 ElammariYoussef

@ElammariYoussef des news sur le build failed actuel ?

MqtCorentin avatar Mar 18 '24 10:03 MqtCorentin

@ElammariYoussef des news sur le build failed actuel ?

Non, on a pas encore trouvé, c'est une erreur générale lors de la génération des storybooks dans le projet On est entrain d'investiguer pour le moment

ElammariYoussef avatar Mar 18 '24 10:03 ElammariYoussef

Je clôture la PR car je n'arrive plus à relancer la build, en la recréant il se peut que cela fonctionne à nouveau.

MartinWeb avatar Apr 10 '24 15:04 MartinWeb