Skip to content

Commit

Permalink
fix inputField type
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jan 30, 2025
1 parent b015c16 commit 379a047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export function TouchTip(props: TouchTipProps): JSX.Element {
marginTop={SPACING.spacing68}
>
<InputField
type="number"
value={position}
type="string"
value={String(position)}
title={t('touch_tip_position_mm')}
error={positionError}
readOnly
Expand Down
1 change: 1 addition & 0 deletions components/src/atoms/InputField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface InputFieldProps {
| typeof LEGACY_INPUT_TYPE_TEXT
| typeof LEGACY_INPUT_TYPE_PASSWORD
| typeof INPUT_TYPE_NUMBER
| 'string'
/** mouse click handler */
onClick?: (event: MouseEvent<HTMLInputElement>) => unknown
/** focus handler */
Expand Down

0 comments on commit 379a047

Please sign in to comment.