flipbyte / formik-json-schema

Easily create react forms using JSON / Javascript Object
MIT License
151 stars 40 forks source link

Added a template registry so that fields can reference a template by … #62

Closed cohesiondx8 closed 4 years ago

cohesiondx8 commented 5 years ago

…string i.e. if the schema data is pure JSON

easeq commented 5 years ago

Can you add the current FieldTemplate in the registry for the key: default, and use that key when exists as the default template? This way someone who has a single custom field template throughout the form does not have to add the string field template key to every field in the form, they can just set a global default.