Skip to content

Search is not working when, I use value as Id Int inside Value DropdownMenuItem  #133

@EslamAbotaleb

Description

@EslamAbotaleb

SearchableDropdown.single(
key: key,
items: list.asMap().entries.map((item) {
return new DropdownMenuItem(
child: Text(item.value['name']), value: item.value['id']);
}).toList(),
isExpanded: true,
searchHint: new Text(
'Select ',
style: new TextStyle(fontSize: 20),
),
onChanged: (value) {},
style: TextStyleWidget.build(),
),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions