Skip to content

Commit

Permalink
make input field type text
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jan 30, 2025
1 parent 379a047 commit d6cbf45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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="string"
value={String(position)}
type="text"
value={String(position ?? '')}
title={t('touch_tip_position_mm')}
error={positionError}
readOnly
Expand Down
1 change: 0 additions & 1 deletion components/src/atoms/InputField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ 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 d6cbf45

Please sign in to comment.