mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5257
This commit is contained in:
parent
0c6a35d280
commit
d77e66415b
8 changed files with 18 additions and 8 deletions
|
@ -31,10 +31,13 @@ import BaseRadioButton from './BaseRadioButton.vue';
|
|||
export default {
|
||||
name: 'RadioButton',
|
||||
extends: BaseRadioButton,
|
||||
inheritAttrs: false,
|
||||
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
||||
methods: {
|
||||
getPTOptions(key) {
|
||||
return this.ptm(key, {
|
||||
const _ptm = key === 'root' ? this.ptmi : this.ptm;
|
||||
|
||||
return _ptm(key, {
|
||||
context: {
|
||||
checked: this.checked,
|
||||
disabled: this.disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue