diff --git a/src/views/radiobutton/RadioButtonDemo.vue b/src/views/radiobutton/RadioButtonDemo.vue
index 63ab22731..4c8e56bc4 100644
--- a/src/views/radiobutton/RadioButtonDemo.vue
+++ b/src/views/radiobutton/RadioButtonDemo.vue
@@ -29,26 +29,14 @@
Selected City : {{this.city}}
-
Advanced with Preselection, Value Binding and Disabled Option
+ Dynamic Values, Preselection, Value Binding and Disabled Option
-
-
-
-
- Selected Template : {{this.theme}}
+ Selected Theme : {{this.selectedTheme}}
@@ -57,14 +45,13 @@
export default {
data() {
return {
- city: 'null',
- theme: {brand: 'Serenity', key: 'S'}
+ city: null,
+ themes: [{name: 'Apollo', key: 'A'}, {name: 'Babylon', key: 'B'}, {name: 'Serenity', key: 'S'}, {name: 'Ultima', key: 'U'}],
+ selectedTheme: null
}
},
- methods: {
- onChange() {
- console.log('change');
- }
+ created() {
+ this.selectedTheme = this.themes[1];
}
}