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

Defocus text input? #5897

Closed
ghost opened this issue Nov 20, 2022 · 1 comment
Closed

Defocus text input? #5897

ghost opened this issue Nov 20, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 20, 2022

No description provided.

@ocornut
Copy link
Owner

ocornut commented Nov 21, 2022

ClearActiveID() works.

Note that defocusing wouldn't constitute a validation, and features like #701 or issues like #4714 (finger crossed finishing the fix soon) there are different alternative ways you would want to "defocus text input": defocus and revert? defocus on leave as it, but if we add #701 does it means the current value is lost? defocus with explicit validation, etc. Future users may be mindful of those.

@ocornut ocornut closed this as completed Nov 21, 2022
@ocornut ocornut added the focus label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant