-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello I am having an issue regarding searching in "SelectFormFieldType.dialog", I don't know if I have missed something but it seems like the search doesn't seem to work.
Here is my code:
List of items:
List<Map<String, dynamic>> _items = [ { 'value': '', 'label': 'Select Account', 'icon': Icon(Icons.account_balance) }, {'value': '', 'label': 'Account 1', 'icon': Icon(Icons.account_balance)}, {'value': '', 'label': 'Account 2', 'icon': Icon(Icons.account_balance)}, {'value': '', 'label': 'Account 3', 'icon': Icon(Icons.account_balance)} ];
Here is selectformfield:
SelectFormField( dialogCancelBtn: 'Cancel', enableSearch: true, dialogSearchHint: 'Search account', type: SelectFormFieldType.dialog, // or can be dialog icon: Icon(Icons.account_balance), labelText: 'Select Account', hintText: 'Select Account', items: _items, onChanged: (val) { print(val); }, )
Here is the screenshot of the list and output when searching item

