- 02 Aug, 2019 1 commit
-
-
chunhtai authored
-
- 01 Aug, 2019 1 commit
-
-
chunhtai authored
reland Enable selection by default for password text field and expose api to turn on and off context menu options (#37324)
-
- 31 Jul, 2019 1 commit
-
-
Michael Goderbauer authored
Revert "reland Enable selection by default for password text field and expose api to turn on and off context menu options (#34676) (#37183)" (#37295) This reverts commit 7eb09a84.
-
- 30 Jul, 2019 1 commit
-
- 27 Jul, 2019 1 commit
-
- 26 Jul, 2019 1 commit
-
-
chunhtai authored
Enable selection by default for password text field and expose api to turn on and off context menu options (#34676)
-
- 27 Jun, 2019 1 commit
-
-
Kasper authored
-
- 06 Jun, 2019 1 commit
-
-
Rubens de Melo authored
* include advice about dispose The same note in https://flutter.dev/docs/cookbook/forms/text-field-changes * Include remember to dispose texteditingcontroller Almost the same note here https://flutter.dev/docs/cookbook/forms/text-field-changes#2-use-a-texteditingcontroller . * include remember to dispose TextEditingController and link to see also * remove extras spaces and duplicated comment * include details about using Positioned.fill * Revert "include details about using Positioned.fill" This reverts commit c06196f8884d20c547d97edae71d26f7a61701be. * rever comment about Positioned.fill * Include of and remove extra white space Include of and remove extra white space in the end of line * improve link description to cookbook /// * Learn how to use a [TextEditingController] in one of our [cookbook recipe]s.(https://flutter.dev/docs/cookbook/forms/text-field-changes#2-use-a-texteditingcontroller) * include of, remove extra white space and improve description link to cookbook. include of, remove extra white space and improve description link to cookbook. * include of, remove extra white space and improve link description to cookbook include of, remove extra white space and improve link description to cookbook * include of, remove extra white space and improve link description to cookbook include of, remove extra white space and improve link description to cookbook * remove extra white spaces * remove extra white space
-
- 03 Jun, 2019 1 commit
-
-
chunhtai authored
-
- 15 Mar, 2019 1 commit
-
-
Justin McCandless authored
Adds the `minLines` and `expands` parameters for controlling text height. The original PR was reverted, so this one contains a few extra fixes for the tests that were broken.
-
- 23 Feb, 2019 1 commit
-
-
Gary Qian authored
-
- 01 Feb, 2019 1 commit
-
-
MhdHejazi authored
-
- 14 Jan, 2019 1 commit
-
-
Justin McCandless authored
* Allow a widget to be specified for the textfield count, and allow no count at all * Test all possible states for counter and counterText * Docs for counter * counter is a function that generates a widget * Tests use counter as function * Fix analyze error in docs * InputDecoration has counter widget, TextField has buildCounter function * InputDecorator tests expect counter to be widget again and include buildCounter * counter widget example that might actually fit * Clarify accessiblity concerns in docs * Include isFocused param for accessibility * Fix analyze error * Improve docs per code review * Rearrange getEffectiveDecoration a bit for clarity * Fix analyze error about hashValues params * Clean up docs and redundant code per code review * Code review doc improvement * Automatically wrap buildCounter widget in a Semantics widget for accessibility
-
- 18 Dec, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Dec, 2018 1 commit
-
-
Justin McCandless authored
* cursor fields on textformfield * Test pass-through of cursor properties
-
- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 30 Oct, 2018 2 commits
- 18 Oct, 2018 1 commit
-
-
Hans Muller authored
Make it possible to disable TextField's default handlers for tap and long press. If enableInteractiveSelection is false then taps no longer move the text caret and long-press no longer selects text and shows the cut/copy/paste menu. Accessibility is similarly limited.
-
- 16 Oct, 2018 1 commit
-
-
jslavitz authored
* Fix form field validate method being called if form field is disabled
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 15 Aug, 2018 1 commit
-
-
Michael Goderbauer authored
With this change you can now create "wrapping" text fields that do not show the new line button: ```dart new TextField( maxLines: null, keyboardType: TextInputType.text, ); ```
-
- 20 Jul, 2018 2 commits
-
-
Norbert Kozsir authored
-
Jonah Williams authored
-
- 19 Jul, 2018 1 commit
-
-
matthew-carroll authored
Added textInputAction parameter to TextFormField that forwards to TextField, added onEditingComplete parameter to TextField that forwards to EditableText, added onEditingComplete parameter to TextFormField that forwards to TextField. (#19397) (#19427)
-
- 14 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 Apr, 2018 1 commit
-
-
Roberto Scaramuzzi authored
* Update text_form_field.dart * Update text_form_field_test.dart * Update text_form_field_test.dart * Update text_form_field_test.dart
-
- 29 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 22 Mar, 2018 1 commit
-
-
Ian Hickson authored
-
- 14 Mar, 2018 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 20 Jan, 2018 1 commit
-
-
Hans Muller authored
-
- 03 Jan, 2018 1 commit
-
-
xster authored
-
- 11 Dec, 2017 1 commit
-
-
Fredrik Simón authored
* Expose textAlign on TextFormField Fixes #11404 * Added name to AUTHORS * Added a test for TextFormWidget's textAlign
-
- 29 Sep, 2017 1 commit
-
-
Chris Bracken authored
This patch fixes a collection of issues with widgets involved in text editing: * Fire widget.onChanged on EditableText value change: The value of an EditableText is composed of the text value as well as other editing-related data such as selection-related information. Previously, widget.onChanged() was only called for updates via updateEditingValue(). For pastes via a TextSelectionOverlay, updates are signalled via _handleSelectionOverlayChanged(), which only ever triggered widget.onSelectionChanged(), but not widget.onChanged(). Both updateEditingValue() and _handleSelectionOverlayChanged() perform the value update via _formatAndSetValue(), which is where this patch moves the widget.onChanged() call. * Correctly update TextFormField value on edits via controller: The textual value of a TextFormField exists in two locations: 1. FormField.value, as with all FormFields and subclasses. 2. TextEditingController.value associated with the TextField underlying the TextFormField. Previously, edits to the TextEditingController associated with a TextFormField resulted in updates to the rendered TextField widget, but did not update TextFormField.value. FormField.value is updated via FormField's onChanged function, which is called from the EditableText underlying the TextField underlying the TextFormField. EditableText only fires onChanged when it receives changes from the engine. It does not fire onChanged for changes made to the underlying TextController, since the owner of the TextController is the one making these changes and thus, already aware of them. FormField, however, *does* need to listen to these changes to update its value. * Adds an initialValue parameter to the TextFormField constructor: FormField's constructor already takes an initialValue parameter, which specifies the initial value in the field, which is also the value to which reset() returns the field. Previously, TextFormField took its initial value from the controller value (if a controller was passed in) or the empty string (if not). This had the undesirable effect that calling reset() always resets the value to the current value of the controller... i.e., does nothing. We now take an initial value explicitly.
-
- 18 Jul, 2017 1 commit
-
-
- 13 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 28 Apr, 2017 1 commit
-
-
xster authored
* Add a text formatter interface used by EditingText. Provide some default implementations. * self nits * Handle -1 selection offsets * review notes * simplify regular expression * Add whitelisting formatters. Use a custom phone number formatter in text demo. * review notes * not being able to addAll(null) is pretty annoying * review notes * partial tests * Add tests * didn’t end up needing mockito * move to services
-
- 04 Apr, 2017 1 commit
-
-
Adam Barth authored
TextFormField doesn't actually have many properties because it wraps a TextField. Rather than trying to document all the arguments in the constructor, we now refer to the docs for TextField, which explain the parameters in a more readable way. Fixes #7245
-