Comments (5)
@danielhgasparin If you are good at typescript definitions, please review #19
from multiselect.
@adamberecz I can confirm that Vetur won't give any useful info for custom component in components
, that was surprising me too...
For the moment I could suppress the ts complier error by adding a declaration for the package.
declare module '@vueform/multiselect' {}
But, still I'm looking forward it can be typescriptized, because this is the best vue3 mutiselect component I can find in the market :) Thanks for the great work really !
from multiselect.
Approved. I'm not an expert in Typescript, but tested on my project and worked well.
I didn't validate every properties and events of the component, though. But the typescript and intelisense recognized the type and compiled well.
from multiselect.
I'm wondering will this project switch to ts in the near future? nowadays ts is a must have option I think.
from multiselect.
Help me out here. If Typescript is added sure it helps the development of the library, but what's in it for the end user? I'm trying to test this implementation in VSCode with Vetur but a) it does not suggest properties when using the component in <template>
b) it doesn't throw a compile error when defining invalid props (except for the built-in Vue prop typechecking at runtime). So what's the point? The only benefit I can see is this. Is that all?
from multiselect.
Related Issues (20)
- 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 HOT 1
- 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`
- Expose loading state on async options HOT 1
- appendToBody on async options: dropdown position is incorrect for the first time appearance HOT 1
- [Feature Request] Choose positioning for appendToBody
- Expose default search/filter function
- issue with :append-to-body="true" in a modal. HOT 2
- In mode "Tags" with an array of objects, an error message should be shown when valueProp can not be found HOT 2
- Tags mode displaying tag count limit
- Potential Regression: emits null right after emitting the selected value in 2.6.8
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.