Skip to content

Conversation

@slax57
Copy link
Contributor

@slax57 slax57 commented Jan 5, 2026

Problem

Fix #640

Solution

Use Tkdodo's DistributiveOmit instead of Omit to properly propagate the RA input prop types to InputGuesser

How to test

In src/stories/custom/UsingGuessers.stories.tsx, edit ReviewCreate to add optionText to <InputGuesser source="book" />. TS should not complain, and the prop should work.

@slax57 slax57 added the RFR label Jan 5, 2026
@slax57 slax57 added this to the 4.0.8 milestone Jan 5, 2026
@slax57 slax57 merged commit 4a26bf3 into main Jan 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typescript error when defining optionText on InputGuesser

2 participants