mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Remove pattern regex from basal change field
Having the regex require integers means that only the numeric keypad will pop on iOS. This prevents the entry of negative values, which is pretty critical for temp basals.
This commit is contained in:
+1
-1
@@ -339,7 +339,7 @@
|
||||
</label>
|
||||
<label id="percentLabel" for="percent" class="left-column short-label">
|
||||
<span class="translate">Percent</span>
|
||||
<input type="number" step="10" id="percent" placeholder="Basal change in %" class="titletranslate" pattern="\d*" />
|
||||
<input type="number" step="10" id="percent" placeholder="Basal change in %" class="titletranslate" />
|
||||
</label>
|
||||
<label id="profileLabel" for="profile" class="left-column short-label">
|
||||
<span class="translate">Profile</span>
|
||||
|
||||
Reference in New Issue
Block a user