🐛(react) fix DatePicker submit button

As the default type of button is "submit", when including a DatePicker
inside a form, clicking on any of its button was triggering form
submission.

Fixes #245
This commit is contained in:
Nathan Vasse
2024-02-02 15:06:35 +01:00
committed by NathanVss
parent 009714a89d
commit e79768c7ce
4 changed files with 29 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
fix DatePicker submit button