koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
546 stars 155 forks source link

custom code slots are ignored if the form is displayed on v-dialog #302

Closed johngtb closed 3 years ago

johngtb commented 3 years ago

Hi Alban, I have some code slots with a "custom-" prefix and passed to the "x-display" annotation in my schemas which work perfectly everywhere in my app except when the form is placed on a "v-dialog" or "v-sheet" in which case the custom elements are totally ignored and a normal input is displayed instead along with the rest of the schema inputs.

albanm commented 3 years ago

Hi,

Can you try to recreate your problem in a codepen ? It is easy to initialize a codepen from the examples in the documentation.

johngtb commented 3 years ago

it turned out that I'm using another instance of the schema form on that dialog that was missing the definitions of my custom inputs. Sorry for opening this and thanks for your fast reply.