You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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


The text was updated successfully, but these errors were encountered: