Skip to content

Commit e0584cd

Browse files
mylesccsagalbot
authored andcommitted
Adding the 'clearable' prop to the docs (sagalbot#649)
What: * Adding clearable to the gitbook Props.md Why: * Its a prop on the select component but it wasn't documented correctly
1 parent 8c622b6 commit e0584cd

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/gitbook/Api/Props.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ clearSearchOnSelect: {
9090
default: true
9191
},
9292

93+
/**
94+
* Enables/disables allowing the user to clear the selected property.
95+
* @type {Boolean}
96+
*/
97+
clearable: {
98+
type: Boolean,
99+
default: true
100+
},
101+
93102
/**
94103
* Close a dropdown when an option is chosen. Set to false to keep the dropdown
95104
* open (useful when combined with multi-select, for example)

src/components/Select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
},
429429
430430
/**
431-
* Can the user clear the selected property?
431+
* Can the user clear the selected property.
432432
* @type {Boolean}
433433
*/
434434
clearable: {

0 commit comments

Comments
 (0)