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

TextField. Support PlatformTextInputPluginRegistry for non-android targets #2964

Closed
pjBooms opened this issue Apr 3, 2023 · 1 comment
Closed
Labels
enhancement New feature or request input Touch, mouse, keyboard input related text

Comments

@pjBooms
Copy link
Collaborator

pjBooms commented Apr 3, 2023

Compose 1.4 adds new abstraction:

androidx.compose.ui.text.input.PlatformTextInputPluginRegistry

Documentation says:

The only time a new service type and adapter should be defined is
if you are building your own text input system from scratch, including your own `TextField`
composables.

There is also a demo for the new feature: androidx.compose.foundation.demos.text.PlatformTextInputAdapterDemo.kt

See also: https://partnerissuetracker.corp.google.com/issues/267235947

Support the new feature on demand.

@pjBooms pjBooms added enhancement New feature or request submitted labels Apr 3, 2023
@igordmn igordmn added input Touch, mouse, keyboard input related text and removed submitted labels Apr 3, 2023
@dima-avdeev-jb dima-avdeev-jb changed the title Support PlatformTextInputPluginRegistry for non-android targets TextField. Support PlatformTextInputPluginRegistry for non-android targets Jun 19, 2023
@okushnikov
Copy link
Collaborator

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input Touch, mouse, keyboard input related text
Projects
None yet
Development

No branches or pull requests

3 participants