This commit is contained in:
mertsincan 2024-02-11 23:48:21 +00:00
parent 0c6a35d280
commit d77e66415b
8 changed files with 18 additions and 8 deletions

View file

@ -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