freeCodeCamp/tools
Muhammed Mustafa 47ffd20f74
fix(client): add type to warn misuse of attributes in formControl (#48696)
* feat: add type to warn miss usage of attributes in formControl

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* refactor the value type

Co-authored-by: sembauke <semboot699@gmail.com>

* add condition type for readyonly and onchange types

* warn when using readonly and onchange props together

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* allow value to be undefined

* Make read-only undefined

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-02-10 13:24:23 +00:00
..
challenge-auditor feat: transfer The Odin Project to its own superblock (#49202) 2023-02-08 15:21:03 +01:00
challenge-editor feat: transfer The Odin Project to its own superblock (#49202) 2023-02-08 15:21:03 +01:00
challenge-helper-scripts feat: transfer The Odin Project to its own superblock (#49202) 2023-02-08 15:21:03 +01:00
challenge-parser feat: integrate The Odin Project (#48617) 2023-01-19 14:55:26 +02:00
crowdin fix(deps): update dependency node-fetch to v2.6.9 2023-02-04 17:50:42 +00:00
scripts feat: transfer The Odin Project to its own superblock (#49202) 2023-02-08 15:21:03 +01:00
ui-components fix(client): add type to warn misuse of attributes in formControl (#48696) 2023-02-10 13:24:23 +00:00