This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
forked from rjsf-team/react-jsonschema-form
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rjsf-teamGH-2090] [fluent-ui] fix: Text inputs render with invalid a…
…ttribute (rjsf-team#2206) TextWidget generated `<input type="string" ... >` HTML which is invalid as per https://html.spec.whatwg.org/multipage/input.html#states-of-the-type-attribute `<input type="text" ... >` would be apropriate. The generation of invalid HTML results in undefined behaviour. I got on the trail of the issue, because [testing-library/user-event](https://github.com/testing-library/user-event#typeelement-text-options) acted in strange ways. This PR results in the generation of valid HTML and updates the tests. fix rjsf-team#2090
- Loading branch information
Showing
4 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters