Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Select] Issue #599

Open
Nyakamba opened this issue Oct 2, 2024 · 0 comments
Open

[Select] Issue #599

Nyakamba opened this issue Oct 2, 2024 · 0 comments

Comments

@Nyakamba
Copy link

Nyakamba commented Oct 2, 2024

<Select.Root>
<Select.Trigger placeholder="Assign..." />
<Select.Content>
<Select.Group>
<Select.Label>Suggestions</Select.Label>
{users.map((user) => (
<Select.Item key={user.id} value={user.id}>
{user.name}
</Select.Item>
))}
</Select.Group>
</Select.Content>
</Select.Root>

I get this error for the placeholder
'Type '{ placeholder: string; }' is not assignable to type 'IntrinsicAttributes & Omit<SelectTriggerProps, "ref"> & RefAttributes'.
Property 'placeholder' does not exist on type 'IntrinsicAttributes & Omit<SelectTriggerProps, "ref"> & RefAttributes'.ts(2322)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant