mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Splitbutton default action problem fixed
This commit is contained in:
parent
c5c1e69a65
commit
4f013b09f7
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ import { UniqueComponentId } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'SplitButton',
|
||||
emits: ['click'],
|
||||
props: {
|
||||
label: {
|
||||
type: String,
|
||||
|
@ -91,6 +92,8 @@ export default {
|
|||
},
|
||||
onDefaultButtonClick(event) {
|
||||
this.$refs.menu.hide(event);
|
||||
|
||||
this.$emit('click');
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue