Skip to content

feat: Add text selection API for text input fields#9273

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

feat: Add text selection API for text input fields#9273
Artur- wants to merge 15 commits into
mainfrom
feature/text-selection

docs: note iOS/Android selection limitations on HasSelection

083fd26
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 28, 2026 in 3m 31s

Annotations

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=AZ8OgirdPHvc15C0S4j8&open=AZ8OgirdPHvc15C0S4j8&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=AZ8OgixCPHvc15C0S4kB&open=AZ8OgixCPHvc15C0S4kB&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=AZ8OgixCPHvc15C0S4kD&open=AZ8OgixCPHvc15C0S4kD&pullRequest=9273

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=AZ8OgixCPHvc15C0S4j_&open=AZ8OgixCPHvc15C0S4j_&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=AZ8OgixCPHvc15C0S4kA&open=AZ8OgixCPHvc15C0S4kA&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=AZ8OgixCPHvc15C0S4kE&open=AZ8OgixCPHvc15C0S4kE&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=AZ8OgixCPHvc15C0S4j-&open=AZ8OgixCPHvc15C0S4j-&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=AZ8OgirePHvc15C0S4j9&open=AZ8OgirePHvc15C0S4j9&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=AZ8OgixCPHvc15C0S4kC&open=AZ8OgixCPHvc15C0S4kC&pullRequest=9273