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!

:art: Update Input to accept Number or Text

Alicia Sykes16e649c67f64
diff --git a/src/components/FormElements/Input.vue b/src/components/FormElements/Input.vue
index 3acafb1a..42ec58af 100644
--- a/src/components/FormElements/Input.vue
+++ b/src/components/FormElements/Input.vue
@@ -30,7 +30,7 @@
export default {
name: 'Input',
props: {
- value: String, // The value bound to v-model
+ value: [String, Number], // The value bound to v-model
label: String, // An optional label to display above
name: String, // Required unique ID value, for accessibility
placeholder: String, // Optional placeholder value