Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:zap: Fixes value not updating on form init

Alicia Sykescd40bb192f29
diff --git a/src/components/FormElements/Radio.vue b/src/components/FormElements/Radio.vue
index cfc0e0ff..f3415612 100644
--- a/src/components/FormElements/Radio.vue
+++ b/src/components/FormElements/Radio.vue
@@ -37,7 +37,7 @@ export default {
},
created() {
if (this.initialOption) {
- this.selectedRadio = this.initialOption;
+ this.updateValue(this.initialOption);
}
},
computed: {