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

[forms] Errors messages should be comprehensible by user #34

Closed
talend-glorieux opened this issue Jan 25, 2017 · 3 comments
Closed

[forms] Errors messages should be comprehensible by user #34

talend-glorieux opened this issue Jan 25, 2017 · 3 comments

Comments

@talend-glorieux
Copy link
Contributor

From @jlamiel on December 7, 2016 16:38

Example :
"default": "gs://temp",
"pattern": "^gs://(.?([^/]+))$"
right now the message is : does not match pattern "^gs://(.
?([^/]+))$"

Copied from original issue: Talend/react-talend-forms#47

@talend-glorieux
Copy link
Contributor Author

Will be handled once rjsf-team/react-jsonschema-form#432 is merged.

@talend-glorieux
Copy link
Contributor Author

Adding rjsf-team/react-jsonschema-form#155 as a reference,

@talend-glorieux talend-glorieux changed the title Errors messages should be comprehensible by user [forms] Errors messages should be comprehensible by user Jan 25, 2017
@jsomsanith-tlnd
Copy link
Contributor

This is supported in the next version of forms (in progress).
You can see it in demo : http://talend.surge.sh/forms/?selectedKind=Core%20concepts&selectedStory=Core-simple
The email input has static regex validation. It displays a custom message from uiSchema when you remove the @ for example.
Let's bet on the next version of forms

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

No branches or pull requests

2 participants