Skip to content

Commit f0df996

Browse files
authored
Merge pull request #434 from FlutterFlow/feature/textfield-interactive-selection
Add interactive selection feature to TextField documentation
2 parents 8f09dca + 52b6349 commit f0df996

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/resources/control-flow/user-interactivity/forms/form-widgets/text-field.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,15 @@ To autofocus a TextField, select the TextField widget, move to the **Properties
410410
</div>
411411
<p></p>
412412

413+
### Enable Interactive Selection
414+
415+
The **Enable Interactive Selection** toggle controls whether users can interact with the text selection features, such as long-press selection, copy/paste menus, and selection handles.
416+
417+
By default, this property is set to **True**, allowing users to select, copy, and paste text using the platform's built-in text selection controls. Disabling this can help prevent unintended text copying or editing, especially in sensitive fields.
418+
419+
420+
![interactive-selection](../imgs/interactive-selection.avif)
421+
413422
### Autocomplete a TextField
414423

415424
You might want to allow users to enter the text by suggesting them a list of items. The suggested items are shown if it contains the currently entered text from TextField. For example, using autocomplete to get the *Country* *name*, *Fruit* *name*, etc.

0 commit comments

Comments
 (0)