mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
36 lines
812 B
Vue
36 lines
812 B
Vue
<script>
|
|
import BaseEditableHolder from '@primevue/core/baseeditableholder';
|
|
import SelectButtonStyle from 'primevue/selectbutton/style';
|
|
|
|
export default {
|
|
name: 'BaseSelectButton',
|
|
extends: BaseEditableHolder,
|
|
props: {
|
|
options: Array,
|
|
optionLabel: null,
|
|
optionValue: null,
|
|
optionDisabled: null,
|
|
multiple: Boolean,
|
|
allowEmpty: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
dataKey: null,
|
|
ariaLabelledby: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
size: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
},
|
|
style: SelectButtonStyle,
|
|
provide() {
|
|
return {
|
|
$pcSelectButton: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|