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

Question: [SOLVED] How to remove the set default background for Text-Area? #226

Open Mashiane opened 3 years ago

Mashiane commented 3 years ago

Hi there

How do I make the text-area background the same as the rest of the element. I only set the auto-grow, rounded, outlined here, it seems it has a set default background color.

textarea
albanm commented 3 years ago

I don't think vjsf does anything specific here, it just uses vuetify. Either you can solve it using vuetify props or you can write some css to override the color.

Mashiane commented 3 years ago

Thanks, will check and see what I can apply. Its rather strange because on the Vuetify docs, the background color when the filled property is set, it works like that. I have not set that property on my case, but just auto-grow.

Mashiane commented 3 years ago

Solved, have set the background-color x-prop to transparent.

albanm commented 3 years ago

Ah yes, I forgot. See here, the default for textareaProps is {filled: true}, you can overwrite the props with filled=false to cancel this.

Mashiane commented 3 years ago

Great then, thanks, I didn't notice that.