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 "text-select" to focus-on, click-on, etc. commands #355

Closed
bob2517 opened this issue Feb 9, 2025 · 0 comments
Closed

Add "text-select" to focus-on, click-on, etc. commands #355

bob2517 opened this issue Feb 9, 2025 · 0 comments
Assignees
Labels
docs to do Documentation still needs doing before this can get released enhancement New feature or request
Milestone

Comments

@bob2517
Copy link
Member

bob2517 commented Feb 9, 2025

The use case is for moving a cursor back across several digit fields in a form, or "tel" inputs in my case, and highlighting what is there already, such as when an user has to enter 6 digits for an authentication form and you want it to move to the next field automatically and have the arrow keys move back and forth in the fields.

Solution is adding text-select to focus-on-next, .etc commands.

Eg. (showing the syntax of the command only)

.
.myField:keydownArrowLeft {
    focus-on-next: .myField text-select;
}

Now on branch.

@bob2517 bob2517 added the enhancement New feature or request label Feb 9, 2025
@bob2517 bob2517 added this to the 2.16.0 milestone Feb 9, 2025
@bob2517 bob2517 self-assigned this Feb 9, 2025
@bob2517 bob2517 closed this as completed Feb 9, 2025
@bob2517 bob2517 added the docs to do Documentation still needs doing before this can get released label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs to do Documentation still needs doing before this can get released enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant