Skip to content

Commit

Permalink
Merge pull request #1409 from navikt/no-options-tekst
Browse files Browse the repository at this point in the history
Endre 'No options' tekst til norsk i selects
  • Loading branch information
fredrikpe authored Apr 20, 2023
2 parents 17b988c + 69e000b commit 8f627cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const MultiSelect = React.forwardRef((props: MultiSelectProps) => {
placeholder={placeholder}
ref={ref}
isMulti
noOptionsMessage={() => "Ingen funnet"}
name={name}
value={value}
onChange={onChange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const SokeSelect = React.forwardRef((props: SelectProps) => {
<ReactSelect
placeholder={placeholder}
ref={ref}
noOptionsMessage={() => "Ingen funnet"}
name={name}
defaultInputValue={defaultValue}
value={
Expand Down

0 comments on commit 8f627cc

Please # to comment.