mirror of
https://codeberg.org/andyscott/ExerciseTracker.git
synced 2024-12-21 11:43:10 -05:00
Changed text box to drop down for unit
This commit is contained in:
parent
6a8c513204
commit
f0d1b95131
1 changed files with 4 additions and 5 deletions
|
@ -49,11 +49,10 @@ export const EditPage = ({ exerciseToEdit }) => {
|
||||||
value={weight}
|
value={weight}
|
||||||
onChange={(e) => setWeight(e.target.value)}
|
onChange={(e) => setWeight(e.target.value)}
|
||||||
/>
|
/>
|
||||||
<input
|
<select value={unit} onChange={(e) => setUnit(e.target.value)}>
|
||||||
type="text"
|
<option value="lbs">lbs</option>
|
||||||
value={unit}
|
<option value="kgs">kgs</option>
|
||||||
onChange={(e) => setUnit(e.target.value)}
|
</select>
|
||||||
/>
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
value={date}
|
value={date}
|
||||||
|
|
Loading…
Reference in a new issue