refactor(ui): refine action inputs
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / actions / AddChargingStations.vue
index 667edb6cbfa465f923f308621004aac351d9e3fb..ebcef5ed8eca0a6d623668d772f2d00285059e34 100644 (file)
@@ -11,7 +11,8 @@
   <input
     id="number-of-stations"
     v-model="state.numberOfStations"
-    type="text"
+    type="number"
+    min="1"
     name="number-of-stations"
     placeholder="number of stations"
   />
@@ -75,6 +76,7 @@ onMounted(() => {
 
 <style>
 #number-of-stations {
+  width: 15%;
   text-align: center;
 }
 </style>