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

feat(docs): add enterKeyHint section to searchinput #1667

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

jaketrent
Copy link
Contributor

@jaketrent jaketrent commented Mar 12, 2021

Resolves: #1653

I'm not sure why enterKeyHint tsc error is coming up in Codesandbox and in the Content Libraries project. It's not coming up when building the DS.

It seems that should be an optional prop and available to use in @types/react:

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48971/files#diff-32cfd8cb197872bcba371f5018185d2e75fa540b52cda2dd7d8ac12dcc021299R2095

I added an enterKeyHint section to the docs. If we had an a11y for the component, I think it would go in there, since it has to do with ux and semantics.

I added the other notes about "may have TS error" with the caveats to assist any other dev who may encounter this.

@jaketrent jaketrent merged commit f40a83c into master Mar 15, 2021
@jaketrent jaketrent deleted the refactor/searchEnter branch March 15, 2021 15:19
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.

[search input] [ts] enterKeyHint required but undocumented
2 participants