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

Add Option for Auto-Selecting Text in Input Fields on Click #1356

Conversation

mauroalexandre
Copy link
Contributor

In most popular SCADA software systems, the standard behavior when clicking on input elements is to automatically select all the text. This facilitates easy replacement of the text. Following this common usability practice, this pull request introduces an option that allows users to enable this behavior for input elements within our application. A demonstrative video is included below to show how this new feature works.

Peek.2024-09-04.15-44.mp4

@MatthewReed303
Copy link
Collaborator

@mauroalexandre awesome job! I was discussing this feature with @unocelli, can you test if it works using the virtual keyboards also?

@mauroalexandre
Copy link
Contributor Author

Hey @MatthewReed303 , thanks.

Not tested in virtual keyboard yet.

@unocelli unocelli merged commit e29331e into frangoteam:master Sep 5, 2024
@unocelli
Copy link
Member

unocelli commented Sep 5, 2024

@mauroalexandre Good job! Thanks a lot.

@MatthewReed303
Copy link
Collaborator

@mauroalexandre one thing I have noticed when the screen first loads with a value already in the input, it does not work, but after clicking in, then out and back in it then works correctly. Whether this is because of the updates being enabled or just the value there and not blank?

I can confirm it also works with the virtual keyboard fine.

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.

3 participants