Skip to content

Conversation

@ClaraTschamon
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
boemly Ready Ready Preview, Comment Feb 11, 2026 4:05pm

Request Review

@github-actions
Copy link

github-actions bot commented Feb 11, 2026

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/index.js 226.19 KB (-0.01% 🔽) 4.6 s (-0.01% 🔽) 141 ms (+237.98% 🔺) 4.7 s
dist/index.cjs 324.61 KB (+0.21% 🔺) 6.5 s (+0.21% 🔺) 620 ms (+3.59% 🔺) 7.2 s

@ClaraTschamon ClaraTschamon force-pushed the feature/pina-8332-add-range-select branch 2 times, most recently from e06a1d6 to 6c412b5 Compare February 11, 2026 12:50
@ClaraTschamon ClaraTschamon force-pushed the feature/pina-8332-add-range-select branch from 6c412b5 to 42ece5f Compare February 11, 2026 13:03
@ClaraTschamon
Copy link
Contributor Author

Also fixed the "with selected value" story

Copy link
Member

@lukasbals lukasbals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry to be so annoying - but this IMO doesn't fit into the select component. I would make this it's own component to keep the Select cleaner .... if we add properties like rangeFromLabel, ... it really doesn't make sense to have this as a variant of the select. Do you agree?

Comment on lines 139 to 141
const [value, setValue] = React.useState<string[]>(['', '']);
const [fromError, setFromError] = React.useState<string>('');
const [toError, setToError] = React.useState<string>('');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const [value, setValue] = React.useState<string[]>(['', '']);
const [fromError, setFromError] = React.useState<string>('');
const [toError, setToError] = React.useState<string>('');
const [value, setValue] = useState<string[]>(['', '']);
const [fromError, setFromError] = useState<string>('');
const [toError, setToError] = useState<string>('');

Usually we import useState directly ...

@ClaraTschamon ClaraTschamon force-pushed the feature/pina-8332-add-range-select branch from 99f9537 to 3372e0a Compare February 11, 2026 16:03
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the "with selected value" variant.

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

Successfully merging this pull request may close these issues.

2 participants