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
538 stars 154 forks source link

Customise item / selection slots #353

Closed theRenard closed 2 years ago

theRenard commented 2 years ago

Hi, I'm unable to configure item and selection slots, as per documentation this "should" work but maybe I'm wrong

          template( slot="myField-item" )
            span item // this doesn't work

          template( slot="myField-selection" )
            span selection // this doesn't work

          template( slot="myField-append" )
            span append // this works

          template( slot="myField-before" )
            span prepend // this works

Any idea ?

albanm commented 2 years ago

Unfortunately this is a known limitation https://github.com/koumoul-dev/vuetify-jsonschema-form/issues/281

These slots are overwritten by vjsf.

theRenard commented 2 years ago

Ok thank you anyway, great library 👌