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

Increase the visibility of InputText._selectAllTexts() public, or provide an public alternative #15790

Closed
mysticfall opened this issue Nov 8, 2024 · 2 comments

Comments

@mysticfall
Copy link

Is your feature request related to a problem? Please describe.
Currently, there's no way to select the content of an InputText control programmatically. There is _selectAllText(), but it's a protected method, so it's unsuitable for ordinary use cases.

Describe the solution you'd like
I want either the _selectAllText() method to be a public method or an alternative public API to be provided.

Discussion
You must provide a link to the forum post where the initial discussion happened:

https://forum.babylonjs.com/t/is-there-an-alternative-to-inputtext-selectalltext/54636

@deltakosh
Copy link
Contributor

Do you want to do a PR?

@deltakosh deltakosh mentioned this issue Nov 8, 2024
deltakosh added a commit that referenced this issue Nov 8, 2024
@mysticfall
Copy link
Author

Thanks for the quick fix!

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

No branches or pull requests

2 participants