emits updated
parent
10e6a902ae
commit
2037485994
|
@ -37,7 +37,7 @@ import Portal from 'primevue/portal';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CascadeSelect',
|
name: 'CascadeSelect',
|
||||||
emits: ['update:modelValue','change','group-change', 'before-show','before-hide','hide','show'],
|
emits: ['update:modelValue','change','group-change', 'before-show','before-hide','hide','show','focus','blur'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectionPath: null,
|
selectionPath: null,
|
||||||
|
@ -160,11 +160,13 @@ export default {
|
||||||
this.$emit('before-hide');
|
this.$emit('before-hide');
|
||||||
this.overlayVisible = false;
|
this.overlayVisible = false;
|
||||||
},
|
},
|
||||||
onFocus() {
|
onFocus(event) {
|
||||||
this.focused = true;
|
this.focused = true;
|
||||||
|
this.$emit('focus', event);
|
||||||
},
|
},
|
||||||
onBlur() {
|
onBlur(event) {
|
||||||
this.focused = false;
|
this.focused = false;
|
||||||
|
this.$emit('blur', event);
|
||||||
},
|
},
|
||||||
onClick(event) {
|
onClick(event) {
|
||||||
if (this.disabled || this.loading) {
|
if (this.disabled || this.loading) {
|
||||||
|
|
Loading…
Reference in New Issue