Giter Club home page Giter Club logo

Comments (3)

wotamann avatar wotamann commented on July 21, 2024

I have been looking for but apparently vuetify 2.0 doesn't support binding v-tooltip to prepend-inner-icon

  //   does not work !!!!
 <v-tooltip left slot="prepend-inner">
        <template v-slot:activator="{ on }" >        
               <v-text-field v-on="on" prepend-inner-icon="add" >                      
               </v-text-field>
        </template>      
        <span>Left tooltip</span>     
 </v-tooltip>

tl;dr This means that without adapting vuetify-form-base directly, it is not feasible.

Originally posted by @wotamann in #26 (comment)


Hello, it works if the tooltip does not act as a wrapper of the field. Had solved it with an SFC at first, but I thought it completely twisted the logic of your work. Works also with "prepend-inner".


<v-text-field> 
     <v-tooltip slot="append-outer"> 
         <template v-slot:activator="{on}"> 
             <v-icon @... v-on="on"> Tooltip icon </v-icon> 
         </template> <span>Tooltip content</span> 
     </v-tooltip> 
 </v-text-field>

Originally posted by @Rambone in #26 (comment)

from vuetify-form-base.

dileep524 avatar dileep524 commented on July 21, 2024

I have button component in the following manner
"btn": { "type": "btn", "label": "add", "outlined":true },
can we have icon component in the same way
"icon": { "type": "icon", "title": "add"}, something like this

from vuetify-form-base.

wotamann avatar wotamann commented on July 21, 2024

Try this, it will display 2x the Print-Icon

myValue: {
      "iconV": "print",
   }
},
mySchema: {
     iconV: {
         type: "icon"
     },
     iconL: {
         "type": "icon",
         "label": "print",
    }
}

from vuetify-form-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.