SelectButton demo fixes

pull/4649/head
Tuğçe Küçükoğlu 2023-10-18 14:11:32 +03:00
parent e9663cc853
commit 29a782991e
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export default {
value2: null, value2: null,
options1: ['Off', 'On'], options1: ['Off', 'On'],
options2: [ options2: [
{ name: 'Option 1', value: 1 }, { name: 'Option 1', value: 1, constant: false },
{ name: 'Option 2', value: 2, constant: true } { name: 'Option 2', value: 2, constant: true }
] ]
} }
@ -64,7 +64,7 @@ const value1 = ref('Off');
const value2 = ref(); const value2 = ref();
const options1 = ref(['Off', 'On']); const options1 = ref(['Off', 'On']);
const options2 = ref([ const options2 = ref([
{ name: 'Option 1', value: 1 }, { name: 'Option 1', value: 1, constant: false },
{ name: 'Option 2', value: 2, constant: true } { name: 'Option 2', value: 2, constant: true }
]); ]);
<\/script> <\/script>