crawlinknetworks / dropdown_plus

Simple and easy to use Dropdown in forms with search, keyboard navigation, offiline data source, remote data source and easy customization.
MIT License
12 stars 43 forks source link

onEmptyActionPressed - How can I get the entered not existed value? #4

Open aaongr opened 3 years ago

aaongr commented 3 years ago

The onEmptyActionPressed is executed when the user enter a value, this value does not exists in the items and the user click on the "Create new".

Inside the onEmptyActionPressed: () async { }, how can I get the entered value that it is not exists in the items?

maximatt commented 3 years ago

I'm facing in the same situation as @agorneo

Abdelaty commented 2 years ago

same here, Tried to attach a controller to the widget, then print its value when onEmptyActionPressed: () triggered. But nothing happened.