Skip to content

Commit d93b4e7

Browse files
Select text input when activating text dropdown field (#11174)
Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
1 parent e823aa9 commit d93b4e7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pxtblocks/fields/field_textdropdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export class BaseFieldTextDropdown extends Blockly.FieldTextInput {
8282

8383
if (!quietInput) {
8484
this.htmlInput_.focus();
85+
this.htmlInput_.select();
8586
}
8687
}
8788

0 commit comments

Comments
 (0)