diff --git a/packages/dnb-eufemia/src/extensions/forms/Field/String.tsx b/packages/dnb-eufemia/src/extensions/forms/Field/String.tsx index aabf617a7b8..7512ad1a661 100644 --- a/packages/dnb-eufemia/src/extensions/forms/Field/String.tsx +++ b/packages/dnb-eufemia/src/extensions/forms/Field/String.tsx @@ -1,4 +1,4 @@ -import React, { MutableRefObject, useContext } from 'react' +import React, { useContext } from 'react' import classnames from 'classnames' import { HelpButton, Input, Textarea } from '../../../components' import { InputProps } from '../../../components/input/Input' @@ -36,9 +36,6 @@ export type Props = FieldHelpProps & pattern?: string // Styling width?: false | 'small' | 'medium' | 'large' | 'stretch' - innerRef?: React.Ref< - MutableRefObject - > } function StringComponent(props: Props) { @@ -108,11 +105,9 @@ function StringComponent(props: Props) { characterCounter, mask, width, - keep_placeholder, handleFocus, handleBlur, handleChange, - innerRef, } = useDataValue(preparedProps) const characterCounterElement = characterCounter @@ -177,7 +172,6 @@ function StringComponent(props: Props) { on_change={handleChange} disabled={disabled} stretch={width !== undefined} - keep_placeholder={keep_placeholder} inner_ref={innerRef} /> ) : (