【问题标题】:vuetify v-select: Styling. Get rid of the underline and customize the placeholdervuetify v-select:样式。去掉下划线,自定义占位符
【发布时间】:2021-08-02 02:41:45
【问题描述】:
  <v-col>
                    <v-select
                    class="custom" 
                      multiple
                      attach
                      chips
                      dense
                      :placeholder="header.text"
                      clearable
                      :items="columnValueList(header.value)"
                      v-model="filter[header.value]"
                    >[enter image description here][1]
                    </v-select>
                  </v-col>

I want to get rid of that underline and only show the dropdown icon. I looks so messy, when i click on item, the underline gets filled and the design loks messy. Anything I can do ??

【问题讨论】:

    标签: vue.js vuejs2 datatables vuetify.js


    【解决方案1】:
    .select_class_name.v-text-field>.v-input__control>.v-input__slot:before { 
         border-style: none; 
    } 
    .select_class_name.v-text-field>.v-input__control>.v-input__slot:after { 
         border-style: none; 
    }
    

    只需将类名替换为 v-select 上的类名即可。

    【讨论】:

      猜你喜欢
      • 2021-03-02
      • 2021-05-28
      • 2022-10-21
      • 2020-02-26
      • 2019-08-01
      • 2020-06-30
      • 2021-04-03
      • 2021-09-06
      • 2019-04-24
      相关资源
      最近更新 更多