2
0
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:
Myles Cowper-Coles
2018-09-17 17:18:13 +01:00
committed by Jeff Sagal
parent 8c622b6331
commit e0584cda96
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -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)
+1 -1
View File
@@ -428,7 +428,7 @@
}, },
/** /**
* Can the user clear the selected property? * Can the user clear the selected property.
* @type {Boolean} * @type {Boolean}
*/ */
clearable: { clearable: {