diff --git a/src/components/Select.vue b/src/components/Select.vue index e4e71b1..a0e4ffa 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -423,6 +423,15 @@ default: false }, + /** + * Can the user clear the selected property? + * @type {Boolean} + */ + clearable: { + type: Boolean, + default: true + }, + /** * Sets the max-height property on the dropdown list. * @deprecated @@ -1053,7 +1062,7 @@ * @return {Boolean} */ showClearButton() { - return !this.multiple && !this.open && this.mutableValue != null + return !this.multiple && this.clearable && !this.open && this.mutableValue != null } },