mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
Adding the 'clearable' prop to the docs (#649)
What: * Adding clearable to the gitbook Props.md Why: * Its a prop on the select component but it wasn't documented correctly
This commit is contained in:
committed by
Jeff Sagal
parent
8c622b6331
commit
e0584cda96
@@ -90,6 +90,15 @@ clearSearchOnSelect: {
|
|||||||
default: true
|
default: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enables/disables allowing the user to clear the selected property.
|
||||||
|
* @type {Boolean}
|
||||||
|
*/
|
||||||
|
clearable: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Close a dropdown when an option is chosen. Set to false to keep the dropdown
|
* Close a dropdown when an option is chosen. Set to false to keep the dropdown
|
||||||
* open (useful when combined with multi-select, for example)
|
* open (useful when combined with multi-select, for example)
|
||||||
|
|||||||
@@ -428,7 +428,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Can the user clear the selected property?
|
* Can the user clear the selected property.
|
||||||
* @type {Boolean}
|
* @type {Boolean}
|
||||||
*/
|
*/
|
||||||
clearable: {
|
clearable: {
|
||||||
|
|||||||
Reference in New Issue
Block a user