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

Server side validation support for react json form #2552

Closed
3 tasks
Ibirendra7298 opened this issue Sep 17, 2021 · 1 comment
Closed
3 tasks

Server side validation support for react json form #2552

Ibirendra7298 opened this issue Sep 17, 2021 · 1 comment

Comments

@Ibirendra7298
Copy link

Prerequisites

Description

I created a react json form and want to validate some form data on the server side through api call

Steps to Reproduce

  1. Created react json form.
  2. For client side validation, I created validate function and validated some data on client side. But I want some data to validated through API.
  3. I created API and call that API in the validate function. But Api is not called and showing error that undefined function call.
  4. I would like to know that Is there any way to validate form data through API Calling and show the validation error in the form based on the response.
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Sep 18, 2021
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
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue Sep 24, 2021
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
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
@heath-freenome
Copy link
Member

Fixed in the v5 beta.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants