Dashboard 2 - VUE <v-color-picker>

I'm trying to use VUE to get the color, the routine described below, my doubt is that I can't make VUE deliver the color code, I tried @input and @change and in neither case did it enter the output routine

vuecolor.json (4.8 KB)

.v-color-picker { background-color: #4F4F4F; /* Cor de fundo fixa */ max-width: 300px; border-radius: 20px !important; color: #FFFFFF !important; font-color: #FFFFFF !important; margin: auto; }

Any suggestion how i can get the color information? Tx

According to vuetify docs Color picker component — Vuetify

The v-color-picker uses the v-model prop to control the color displayed.

So bind that to a data color property & maybe use a watch on color to send({payload: this.color})

1 Like

worked, thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.