mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 19:37:34 -07:00
fix: allow disabled radio buttons when created from radios.vue
This commit is contained in:
parent
39c6949321
commit
04d0e002e9
2 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,8 @@ export default defineComponent({
|
|||
MkRadio,
|
||||
{
|
||||
key: option.key,
|
||||
value: option.props.value,
|
||||
value: option.props?.value,
|
||||
disabled: option.props?.disabled,
|
||||
modelValue: this.value,
|
||||
"onUpdate:modelValue": (value) =>
|
||||
(this.value = value),
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<FormRadios v-model="importType" class="_formBlock">
|
||||
<option value="calckey">Calckey/Misskey</option>
|
||||
<option value="mastodon">Mastodon/Akkoma/Pleroma</option>
|
||||
<option class="disabled" :disabled="true" value="twitter">
|
||||
<option :disabled="true" value="twitter">
|
||||
Twitter (soon)
|
||||
</option>
|
||||
</FormRadios>
|
||||
|
|
Loading…
Reference in a new issue