Closed giorgio79 closed 4 years ago
PS sorry, I realised we need to set the value before the build function...
var preselected = "USD";
@override
Widget build(BuildContext context) {
...
value: preselected.
@giorgio79 can you share your code snippet on selecting preSelectedValue? Because I've did that and doesn't seem to work.
+1 im also having this problem, when using it with class from API to the searchable dropdown @boungly @giorgio79
I've managed to solve it by setting UniqueKey for this widget:
build() {
.....
return SearchableDropdown.single(
key: UniqueKey(),
....
}
It's not beautiful solution, but it looks like it's working. Maybe it will help someone...
Hello,
When I set a preselected value via "value" I am unable to select other values as the selected value is always the preselected one.