Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/quiet-birds-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": minor
---

**SuggestionInput:** Remove unsupported props `role` and `data-indeterminate` that would break `Suggestion`
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { forwardRef, useContext, useEffect } from 'react';
import { Input, type InputProps } from '../input/input';
import { SuggestionContext } from './suggestion';

export type SuggestionInputProps = InputProps;
export type SuggestionInputProps = Omit<
InputProps,
'role' | 'data-indeterminate'
>;

// Make React support popovertarget attribute
// https://github.com/facebook/react/issues/27479
Expand Down
Loading