diff --git a/package.json b/package.json index 67cf75a5..e1835912 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.0.96", + "version": "2.0.97", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": { diff --git a/src/components/Input/index.jsx b/src/components/Input/index.jsx index e085630a..1fc11675 100644 --- a/src/components/Input/index.jsx +++ b/src/components/Input/index.jsx @@ -6,7 +6,7 @@ import InputError from '../InputError'; const Input = forwardRef(({ role, ariaLabelWrapper, ariaLabel, ariaLabelledBy, ariaLabelSearchButton, - className, disabled, error, errorMessage, handleChange, id, label, negative, placeholder, searchField, submitCallback, type, value, onFocus, onBlur, size, + name, className, disabled, error, errorMessage, handleChange, id, label, negative, placeholder, searchField, submitCallback, type, value, onFocus, onBlur, size, }, ref) => { const [inputValue, setValue] = useState(value); const inputId = id || useId(); @@ -27,6 +27,7 @@ const Input = forwardRef(({