Skip to content

feat: Add text selection API for text input fields [3 days] - #9273

Open
Artur- wants to merge 19 commits into
mainfrom
feature/text-selection
Open

Artur- wants to merge 19 commits into
mainfrom
feature/text-selection

Merge branch 'main' into feature/text-selection

813dab3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 28, 2026 in 3m 35s

Annotations

Check warning on line 67 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'textField::deselect'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkC&open=AaDnTjm64sntz7zyqjkC&pullRequest=9273

Check warning on line 93 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define the locale to be used in this String operation.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkF&open=AaDnTjm64sntz7zyqjkF&pullRequest=9273

Check warning on line 104 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'passwordField::selectAll'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkG&open=AaDnTjm64sntz7zyqjkG&pullRequest=9273

Check failure on line 86 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/test/java/com/vaadin/flow/component/textfield/tests/SelectionPageIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjdb4sntz7zyqjj_&open=AaDnTjdb4sntz7zyqjj_&pullRequest=9273

Check failure on line 94 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/test/java/com/vaadin/flow/component/textfield/tests/SelectionPageIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjdb4sntz7zyqjkA&open=AaDnTjdb4sntz7zyqjkA&pullRequest=9273

Check warning on line 62 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'textField::selectAll'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkB&open=AaDnTjm64sntz7zyqjkB&pullRequest=9273

Check warning on line 106 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'passwordField::focus'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkH&open=AaDnTjm64sntz7zyqjkH&pullRequest=9273

Check warning on line 68 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'textField::focus'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkD&open=AaDnTjm64sntz7zyqjkD&pullRequest=9273

Check warning on line 74 in vaadin-text-field-flow-parent/vaadin-text-field-flow-integration-tests/src/main/java/com/vaadin/flow/component/textfield/tests/SelectionPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'textArea::focus'.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AaDnTjm64sntz7zyqjkE&open=AaDnTjm64sntz7zyqjkE&pullRequest=9273