I understand Ajv and looked some documentation for i18n and I am trying to connect the dots to best implementations. Could you point me to some sample code/documentation?
Primarily the hook points for Ajv in jsonforms.
I understand Ajv and looked some documentation for i18n and I am trying to connect the dots to best implementations. Could you point me to some sample code/documentation?
Primarily the hook points for Ajv in jsonforms.
Hi @Pokisettyk,
By default JSON Forms will manage its own AJV instance. If you need to customize AJV, then you can also hand over an own instance instead. Note that we require certain options in AJV to be set, so I would like to recommend using the createAjv util which we export from @jsonforms/core. The instance can be handed over by setting it as a prop in the respective JSON Forms component.
JSON Forms has built-in i18n support, you can find the docs here. Any string shown to the user will be piped through the i18n mechanism, so you don’t need to necessarily customize AJV for i18n support.