Skip to content

Commit

Permalink
Factorize JSX input label (#9426)
Browse files Browse the repository at this point in the history
- Factorize input labels in `jsx/Form.js`
- More idiomatic React code in `jsx/form/DateTimePartialElement.tsx`
- Do not convert `disabled`, `required` and `multiple` to strings as
input expect booleans
([doc](https://react.dev/reference/react-dom/components/input)).

Note that I did not factorize checkboxes for radio buttons and
checkboxes as they use a different layout.
  • Loading branch information
maximemulder authored Nov 7, 2024
1 parent 778a6f4 commit 0b1cf9b
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 321 deletions.
Loading

0 comments on commit 0b1cf9b

Please sign in to comment.