Skip to content

Commit

Permalink
Merge branch 'develop' into fix#coverimage
Browse files Browse the repository at this point in the history
  • Loading branch information
konavivekramakrishna authored Nov 15, 2023
2 parents 6dec708 + 03b8e0a commit 0116897
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/Form/FormFields/NumericWithUnitsFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export default function NumericWithUnitsFormField(props: Props) {
autoComplete={props.autoComplete}
required={field.required}
value={numValue}
onChange={(e) => field.handleChange(e.target.value + " " + unitValue)}
onChange={(e) =>
field.handleChange(Number(e.target.value) + " " + unitValue)
}
/>
<div className="absolute inset-y-0 right-0 flex items-center">
<select
Expand Down

0 comments on commit 0116897

Please sign in to comment.