wotamann / vuetify-form-base

Schema-based Form Generator - Vue.js 2.0 Component based on Vuetify 2.0
https://wotamann.github.io/vuetify
232 stars 64 forks source link

Color Picker Idea #67

Open Mashiane opened 3 years ago

Mashiane commented 3 years ago

I ran across this on some other website and thought that perhaps for the color picker, it would make sense to have somthing similar that will show the color selected. I guess this is using some kind of slot to make this happen.

Please think about it and perhaps off course you can always have your own interpretation.

Thanks

ColorPickerIdea

wotamann commented 3 years ago

Vuetify Picker's doesn't (afak) support a Slot-Solution.

1) Slot-Example with the native HTML-Input Type Color 2) or write a custom component that meets your requirements

hope that helps!

Mashiane commented 3 years ago

Sadly I dont remember the vuetify project I got this from, but they used an "append" slot of the text-field to put the menu and then inside that a color picker activated by an avatar component.

I was just mentioning this to enhance your color picker and also implementing a tool based completely on your form-base project.

I will try and recheck but it was something like this:

` <template v-slot:activator="{ on }">

Cancel Apply

`

I will check and see how can one use custom components inside vuetify-form-base.

Thx