Skip to content

Commit 6c90943

Browse files
committed
v1.2.0
1 parent 7305c5c commit 6c90943

File tree

4 files changed

+90
-83
lines changed

4 files changed

+90
-83
lines changed

.idea/workspace.xml

Lines changed: 81 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ FormBuilder(
186186

187187
## TODO:
188188
* Improve documentation by showing complete list of input types and their usage and options
189-
* Add more `FormBuilderInput` types
189+
* Add more `FormBuilderInput` types:
190+
* RangeSlider
191+
* ColorPicker
192+
* MaskedText
190193

191194
## KNOWN ISSUES - HELP NEEDED (Send help ;-P)
192195
* Proper validation for URL [doesn't work without http(s)]

lib/src/form_builder.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,10 @@ class _FormBuilderState extends State<FormBuilder> {
198198
),
199199
suggestionsCallback: formControl.suggestionsCallback,
200200
itemBuilder: formControl.itemBuilder,
201-
transitionBuilder: (context, suggestionsBox, controller) => suggestionsBox,
202-
onSuggestionSelected: (suggestion) => _typeAheadController.value = TextEditingValue(text: suggestion),
201+
transitionBuilder: (context, suggestionsBox, controller) =>
202+
suggestionsBox,
203+
onSuggestionSelected: (suggestion) =>
204+
_typeAheadController.value = TextEditingValue(text: suggestion),
203205
validator: (value) {
204206
if (formControl.require && value.isEmpty)
205207
return '${formControl.label} is required';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_form_builder
22
description: Package to build Material Form with components such as TextField (With number, url, email validation), DropDown, TypeAhead, Radios, Checkboxes
3-
version: 1.1.0
3+
version: 1.2.0
44
author: Danvick Miller <[email protected]>
55
homepage: https://github.com/danvick/flutter_form_builder
66

0 commit comments

Comments
 (0)