Skip to content

Commit

Permalink
webapp: Fix data type for all range inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Sep 23, 2024
1 parent e37baed commit e29ac4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/src/views/DeviceAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
min="0"
max="100"
id="inputDisplayContrast"
v-model="deviceConfigList.display.contrast"
v-model.number="deviceConfigList.display.contrast"
/>
</div>
</div>
Expand Down Expand Up @@ -239,7 +239,7 @@
min="0"
max="100"
:id="getLedIdFromNumber(index)"
v-model="ledSetting.brightness"
v-model.number="ledSetting.brightness"
@change="syncSliders"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/views/DtuAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<input
type="range"
class="form-control form-range"
v-model="dtuConfigList.cmt_frequency"
v-model.number="dtuConfigList.cmt_frequency"
:min="cmtMinFrequency"
:max="cmtMaxFrequency"
:step="dtuConfigList.cmt_chan_width"
Expand Down

0 comments on commit e29ac4f

Please sign in to comment.