Comments (2)
There is no way to merge them as you probably thinking, you need to create more variants like smallPrimary
, mediumSecondary
, etc, the version 0 of this library used to have that feature but after used it a lot I noticed that this make the library less flexible so also no plans to add that feature.
For the disabled inputs you have 3 options:
- If you are using tailwind as your CSS library you can enable the
:disabled
pseudo variant
(https://tailwindcss.com/docs/pseudo-class-variants#disabled) < that's the best option and then add classes likedisabled:opacity-50
- If you are using your own CSS library you can create a class like that one ^
- The last option is to create another variant like
disabledPrimary
but of course, means complexity.
from vue-tailwind.
I'll go with the disabled variant for this case.
from vue-tailwind.
Related Issues (20)
- TRichSelect - Buttons in DropdownUp and DropdownDown do not register click in Safari
- How to display Datepicker only year?
- [help wanted] t-rich-select grouping options HOT 1
- How to blur T-rich-select dropdown upon select
- Dropdown without JavaScript
- <router-link>'s tag prop is deprecated
- Pagination in Rich Select HOT 3
- Semantic TCard (and others)
- not working with vueJS3
- Checkbox not working, value never changes HOT 2
- 🚨 [Important]: project status
- Header Modal Customize
- Variants don't work
- How use t-dropdown in file .tsx HOT 1
- Build for production with Vite? HOT 9
- Rich Select multiple placeholder not rendering
- Time in french
- Can't see search results in TRichSelect when using the fetchOptions method HOT 1
- Pass additional variable to fetchOptions HOT 2
- Rich Select Selected Label for Multiple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-tailwind.