AbdullahChauhan / custom-dropdown

Custom dropdown widget allows to add highly customizable dropdown widget in your projects. Features includes Search on list data, Network search, Multi-selection and many more.
https://pub.dev/packages/animated_custom_dropdown
BSD 3-Clause "New" or "Revised" License
158 stars 73 forks source link

Disabled / read-only state #53

Closed karniv00l closed 6 months ago

karniv00l commented 10 months ago

Hi,

is there any way to achieve a read-only or disabled state? I would assume that read-only state would just work as normal, but not update the value when the new option is chosen. And I'm not sure whether disabled state should fit into this library, as this could be just a collapsed input with no actions and no dropdown icon and maybe an additional styling

KabaDH commented 10 months ago

Hello! PR

karniv00l commented 10 months ago

Cool! I'm currently using AbsorbPointer and hiding closedSuffixIcon to achieve this effect

AbdullahChauhan commented 6 months ago

Hey @karniv00l Enabled/disabled feature now available in the latest release 3.1.0. Thanks to @KabaDH for the contribution. Really appreciate you guys are taking interest in my package!