adobe / adobe/react-spectrum

[RAC Select]Allow placeholder to be `ReactNode`

Open Beginner friendly
#9,799 2 comments 0 reactions 0 assignees View on GitHub
typescript
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the feature here

Title. There doesn't seem to be any reason to limit it to string.

### 🤔 Expected Behavior?

Make it `ReactNode`

### 😯 Current Behavior

It only allows string

### 💁 Possible Solution

_No response_

### 🔦 Context

I'd like to pass some rich text to placeholder.

### 💻 Examples

_No response_

### 🧢 Your Company/Team

_No response_

### 🕷 Tracking Issue

_No response_

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start at the RAC Select entry point and locate the placeholder type, then check the existing Select tests or type checks; done means placeholder accepts ReactNode while existing string usage remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.