diff --git a/docs/gitbook/Api/Props.md b/docs/gitbook/Api/Props.md index 9285251..bee89f1 100644 --- a/docs/gitbook/Api/Props.md +++ b/docs/gitbook/Api/Props.md @@ -90,6 +90,15 @@ clearSearchOnSelect: { 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 * open (useful when combined with multi-select, for example) diff --git a/src/components/Select.vue b/src/components/Select.vue index 92dd5d0..4db3ba5 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -428,7 +428,7 @@ }, /** - * Can the user clear the selected property? + * Can the user clear the selected property. * @type {Boolean} */ clearable: {