vuetify-jsonschema-form
vuetify-jsonschema-form copied to clipboard
i18 suppourt
I have an object with i18 data, where it's structure is like the next:
name:{ ar: "test" en: "test" }
I was wondering if there is a direct way to bind it with the language attribute that I have.
if not, how can I set the schema for this type of objects?
The workaround was to use slots for this but What i was expecting is a way to set the item value directly.
<template slot="name" slot-scope="{ value, label }">
{{ lang + ' ' + label }}
<v-text-field v-model="value[lang]" type="text" />
</template>