Skip to content

Commit

Permalink
✨ Allow comma digit input for algorithm page
Browse files Browse the repository at this point in the history
  • Loading branch information
mawoka-myblock committed Dec 20, 2024
1 parent 6891908 commit 8f5447a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions KiCad/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
td-free-backups/
4 changes: 2 additions & 2 deletions src/algorithm_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ <h1>Algorithm Setup</h1>
<b>b</b> By adjusting these values, you can alter your measured Td.</p>
<form method="get">
<label for="m">m-value (1)</label>
<input type="number" id="m" name="m" placeholder="1" value="{m_val}" required>
<input type="text" id="m" name="m" placeholder="1" value="{m_val}" required pattern="\d{{1,2}}[\,,\.]\d{{1,2}}">

<label for="b">b-value (0)</label>
<input type="number" id="b" name="b" placeholder="0" value="{b_val}" required>
<input type="text" id="b" name="b" placeholder="0" value="{b_val}" required pattern="\d{{1,2}}[\,,\.]\d{{1,2}}">

<button type="submit" class="btn">Save</button>
</form>
Expand Down

0 comments on commit 8f5447a

Please sign in to comment.