@eturnity/eturnity_reusable_components 7.45.5-EPDM-10609.2 → 7.45.5-EPDM-10609.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -141,11 +141,12 @@
|
|
141
141
|
computed: {},
|
142
142
|
methods: {
|
143
143
|
clickHandler(e) {
|
144
|
-
if (this.isDisabled
|
144
|
+
if (this.isDisabled) {
|
145
145
|
// prevent emitter if the option is disabled
|
146
146
|
return
|
147
|
+
} else {
|
148
|
+
this.$parent.$emit('option-selected', this.value, e)
|
147
149
|
}
|
148
|
-
this.$parent.$emit('option-selected', this.value, e)
|
149
150
|
},
|
150
151
|
hoverHandler() {
|
151
152
|
this.$parent.$emit('option-hovered', this.value)
|