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:
John Weston
2017-10-09 11:05:35 -07:00
parent 6adb76e81e
commit 4e1837d21c
+1 -1
View File
@@ -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>