Comments (6)
It wasn't trivial because multiselect is in fact a just a div
, not an actual HTML input
, but managed to do it with a fake input. Please update to 1.3.3
and set required
to true
.
from multiselect.
Got the same issue here, the component is missing a required attribute.
I think a temporarily workaround is to validate the " :v-model = 'value' " attribute if the length = 0 or null.
from multiselect.
We also need the "required" attribute
from multiselect.
is it correct that this is not documented @adamberecz ?
from multiselect.
it goes under the name of required
@gerbenvandijk
from multiselect.
Yup I got that from the comments here @adamberecz - but it is not in the documentation right? i was searching for quite a while in the documentation on the vueform site and did not find it, I found this ticket via a Google search. I think it would be great if this feature could be documented 👍
from multiselect.
Related Issues (20)
- Selecting an option from the dropdown triggers parent elements click event handlers HOT 1
- Add option to blur after selection
- refreshOptions doesn't seem to be working HOT 1
- No types on scoped slotes HOT 1
- Slot is "grouplabel", but type is "groupLabel" HOT 1
- "noresults" slot not working HOT 3
- Cannot read properties of null (reading 'querySelectorAll') HOT 2
- Blur when option have a lot in mac os
- Different clearIcon svg fill color for dark and light mode HOT 2
- focus() issue HOT 1
- Missing methods in Multiselect type
- Add focus/blur event emits HOT 1
- Clicking the clear icon
- Typescript Build Error HOT 1
- can't add option with space in mobile
- Opening disabled input
- Select does not scroll to selected item when the list is large HOT 2
- `getOption` does not work when `value` is an object. HOT 1
- Empty values in createOption with trimmed value HOT 1
- Prop `closeOnScroll` doesn't work with `appendToBody`
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 multiselect.