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

Validate schedule configurations for minLength/maxLength and pattern #835

Open
benoit74 opened this issue Sep 28, 2023 · 1 comment
Open

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Sep 28, 2023

In the /offliners API, return minLength, maxLength and pattern.
Adapt offliner definitions (new field type to create) so that these values can be sourced from the definitions and automatically provided in the API.
In the UI, use these values to set them in the HTML5 elements and validate the input before submitting the form.
Also adapt zimit-frontend to use these values (openzim/zimit-frontend#41).

@benoit74
Copy link
Collaborator Author

Removed from zimit2 project unfortunately

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

2 participants