Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72502

remove down arrow on vuetify v-text field with date input

$
0
0

I am trying to remove the down arrow, I have tried applying the styles provided here: Remove background arrow from date input in Google Chrome v20 .
For some reason I cant seem to target the correct element. Here is the code:

<template>
        <v-layout justify-start align-center>
          <v-flex sm6 md4>
            <v-text-field
              class="unstyled"
              type="date"
              v-model="rawDate"
              :rules="rules"
              :key="reloadKey"
              ref="dinput"
              maxlength="10">
            </v-text-field>
          </v-flex>
        </v-layout>
      </template>
     <style scoped>
       .unstyled::-webkit-inner-spin-button,
       .unstyled::-webkit-calendar-picker-indicator {
          display: none;
          -webkit-appearance: none;
      }
    </style>

How can I apply the styles to the correct element? I can see in the dev tools that the unstyled class is applied to a parent component but not to the input element I am trying to target.


Viewing all articles
Browse latest Browse all 72502

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>