diff --git a/resources/js/components/form/Select.vue b/resources/js/components/form/Select.vue index 1b9b713b..0e43a1f2 100644 --- a/resources/js/components/form/Select.vue +++ b/resources/js/components/form/Select.vue @@ -85,8 +85,8 @@ export default { return Array.isArray(this.options) ? this.options : map(this.options, (value, key) => { - return {name: value, id: key}; - }); + return { name: value, id: key }; + }); }, }, mounted() { @@ -103,15 +103,6 @@ export default { trigger(v) { this.$emit('update:modelValue', /^[0-9]+$/.test(v.target.value) ? parseInt(v.target.value) : v.target.value ? v.target.value : null); }, - clear() { - this.$emit('update:modelValue', null); - }, }, }; - -