Skip to content

Commit

Permalink
Merge pull request #29 from Hoppi164/Changed-Form-Input-Type-To-Number
Browse files Browse the repository at this point in the history
- Change Form Input Type To Number (Opens number pad by default on mobile devices).
  • Loading branch information
lkdm authored Sep 18, 2021
2 parents 1215bff + 1fc4a8b commit 06b36d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calculator/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TextInput: React.FC<Props> = ({label, name, prepend, append, onSubmit, val
<div className="input-group mb-3">
{prepend && <span className="input-group-text">{prepend}</span>}
<input
type="text"
type="number"
name={name}
className="form-control"
aria-label="{label}"
Expand Down

0 comments on commit 06b36d3

Please sign in to comment.