-
I'm unable to find any documentation on the schemas - esp JSON. How is one supposed to use anything beyond simple text boxes - radio, checkboxes, select (drop down) being the most used. For select:
also didnt work |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @zehawki. Actually, your code would work totally fine in ajv v6. From v7, all keywords have to be registered, therefore you'd need to add |
Beta Was this translation helpful? Give feedback.
Hi @zehawki. Actually, your code would work totally fine in ajv v6. From v7, all keywords have to be registered, therefore you'd need to add
allowedValues
and/oroptions
to thekeywords
in theAjv
constructor. Also, uniforms use theuniforms
keyword, where you can pass all of the props as normal, without registering them. Here's a playground example of these two approaches.