Answer the question
In order to leave comments, you need to log in
How to add custom class for Material Vue Component?
How to add a custom class, for example for Select Material Vue?
<md-field>
<label for="movies">Movies</label>
<md-select class="test" v-model="selectedMovies" name="movies" id="movies" multiple>
<md-option value="fight-club">Fight Club</md-option>
<md-option value="godfather">Godfather</md-option>
<md-option value="godfather-ii">Godfather II</md-option>
<md-option value="godfather-iii">Godfather III</md-option>
<md-option value="godfellas">Godfellas</md-option>
<md-option value="pulp-fiction">Pulp Fiction</md-option>
<md-option value="scarface">Scarface</md-option>
</md-select>
</md-field>
Answer the question
In order to leave comments, you need to log in
The option to add in the forehead, as I did above class='test', did not work.
This class was applied to input. And I need to apply a class to the select itself, which appears before the closing body tag.
Everything is added https://codesandbox.io/s/vue-material-multiple-sel...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question