zimfarm icon indicating copy to clipboard operation
zimfarm copied to clipboard

Validate schedule configurations for minLength/maxLength and pattern

Open benoit74 opened this issue 1 year ago • 1 comments

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 (https://github.com/openzim/zimit-frontend/issues/41).

benoit74 avatar Sep 28 '23 12:09 benoit74