Open rzwibowo opened 4 years ago
Try to add class
attribute directly.
<v-suggest :data="data" class="the class you want">
</v-suggest>
Try to add
class
attribute directly.<v-suggest :data="data" class="the class you want"> </v-suggest>
I've been playing around in your codepen example and the result is like the screenshot I attached on my first edited issue comment
v-suggest
dom elements structure like below:
You have to write some css style to overwrite the original css content
/* the css(scss) content in your page */
div.v-suggest {
input[type=text] {
/* the css content you want to customize */
}
}
Yup, it's what I planned to try before. With your answer, now I know what specific selector I should overwrite. Thanks for your kind response!
Result: input field doubled, in the back is styled input, and in the front is v-suggest styled input
Expected: input field styled according to class applied from css framework (eg.: bootstrap with .form-control)