Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW FEATURE: Add a top-level readonly flag #2553

Closed
1 of 3 tasks
heath-freenome opened this issue Sep 18, 2021 · 0 comments · Fixed by #2554
Closed
1 of 3 tasks

NEW FEATURE: Add a top-level readonly flag #2553

heath-freenome opened this issue Sep 18, 2021 · 0 comments · Fixed by #2554

Comments

@heath-freenome
Copy link
Member

Prerequisites

Description

Right now there is a top-level disabled flag that will pass disabled all the way down to hierarchy to each field. I'd love a similar flag for the readonly capability.

I can create a PR for this

Version

v3.x

epicfaace pushed a commit that referenced this issue Sep 25, 2021
* Added form readonly prop (#2552)

Updated the playground to add the `Readonly whole form` flag
Added the `form-readonly` section in the documentation
Updated the tests to verify the `read-only` status

* Fix test

* - Updated the Typescript type for the `FormProps` to add `readonly`

* - Updated the `CHANGELOG.md` in preparation for release

* - Updated test to verify the nesting of readonly works as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant