File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,11 @@ class _ExamplePageState extends State<_ExamplePage> {
39
39
child: Column (
40
40
children: [
41
41
FormBuilderDateTimePicker (
42
- name: 'date' ,
43
42
resetIcon: const Icon (Icons .clear),
43
+ name: 'date' ,
44
+ disablePicker: true ,
45
+ autofocus: true ,
46
+ autocorrect: true ,
44
47
),
45
48
FormBuilderChoiceChip <String >(
46
49
name: 'choice_chip' ,
@@ -50,7 +53,7 @@ class _ExamplePageState extends State<_ExamplePage> {
50
53
'Option 3' ,
51
54
].map ((e) => FormBuilderChipOption (value: e)).toList (),
52
55
),
53
- FormBuilderFilterChip (
56
+ FormBuilderFilterChip < String > (
54
57
maxChips: 2 ,
55
58
decoration: const InputDecoration (
56
59
labelText: 'The language of my people' ,
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ class _ExamplePageState extends State<_ExamplePage> {
39
39
children: [
40
40
FormBuilderDateTimePicker(
41
41
name: 'date',
42
+ disablePicker: true,
43
+ autofocus: true,
44
+ autocorrect: true,
42
45
),
43
46
FormBuilderChoiceChips<String>(
44
47
name: 'choice_chip',
@@ -48,7 +51,7 @@ class _ExamplePageState extends State<_ExamplePage> {
48
51
'Option 3',
49
52
].map((e) => FormBuilderChipOption(value: e)).toList(),
50
53
),
51
- FormBuilderFilterChips(
54
+ FormBuilderFilterChips<String> (
52
55
decoration: const InputDecoration(
53
56
labelText: 'The language of my people',
54
57
enabled: false,
@@ -85,7 +88,7 @@ class _ExamplePageState extends State<_ExamplePage> {
85
88
debugPrint(_formKey.currentState?.value.toString());
86
89
},
87
90
child: const Text('Print'),
88
- )
91
+ ),
89
92
],
90
93
),
91
94
),
You can’t perform that action at this time.
0 commit comments