mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
Merge pull request #428 from sagalbot/maintenance/doc-fixes
bump readme, fix null anchor
This commit is contained in:
@@ -33,6 +33,6 @@ If you wanted to display `Canada` in the dropdown, you'd use the `countryName` k
|
|||||||
|
|
||||||
[](codepen://sagalbot/aEjLPB?height=500)
|
[](codepen://sagalbot/aEjLPB?height=500)
|
||||||
|
|
||||||
### Null / Empty Options {#emptyOptions}
|
### Null / Empty Options {#null}
|
||||||
|
|
||||||
`vue-select` requires the `option` property to be an `array`. If you are using Vue in development mode, you will get warnings attempting to pass anything other than an `array` to the `options` prop. If you need a `null`/`empty` value, use an empty array `[]`.
|
`vue-select` requires the `option` property to be an `array`. If you are using Vue in development mode, you will get warnings attempting to pass anything other than an `array` to the `options` prop. If you need a `null`/`empty` value, use an empty array `[]`.
|
||||||
|
|||||||
+10
-11
@@ -1,4 +1,11 @@
|
|||||||
# vue-select [](https://travis-ci.org/sagalbot/vue-select) [](https://lima.codeclimate.com/github/sagalbot/vue-select) [](https://codeclimate.com/github/sagalbot/vue-select) [](https://gemnasium.com/github.com/sagalbot/vue-select)  
|
# vue-select
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
> A Vue.js select component that provides similar functionality to Select2 without the overhead of jQuery.
|
> A Vue.js select component that provides similar functionality to Select2 without the overhead of jQuery.
|
||||||
|
|
||||||
@@ -13,14 +20,6 @@
|
|||||||
- ~33kb minified with CSS
|
- ~33kb minified with CSS
|
||||||
- Zero dependencies
|
- Zero dependencies
|
||||||
|
|
||||||
## Documentation
|
#### Resources
|
||||||
- **[Demo & Docs](http://sagalbot.github.io/vue-select/)**
|
|
||||||
- **[Example on JSBin](http://jsbin.com/saxaru/8/edit?html,js,output)**
|
|
||||||
- **[CodePen Template](http://codepen.io/sagalbot/pen/NpwrQO)**
|
- **[CodePen Template](http://codepen.io/sagalbot/pen/NpwrQO)**
|
||||||
- **[Trello Roadmap](https://trello.com/b/vWvITNzS/vue-select)**
|
- **[Trello Roadmap](https://trello.com/b/vWvITNzS/vue-select)**
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
###### Vue Compatibility
|
|
||||||
- `vue ~2.0` use `vue-select ~2.0`
|
|
||||||
- `vue ~1.0` use `vue-select ~1.0`
|
|
||||||
Reference in New Issue
Block a user