kartik-v / yii2-widgets

Collection of useful widgets for Yii Framework 2.0
http://demos.krajee.com/widgets
Other
558 stars 177 forks source link

Problems with the widget in update action controller #370

Open waml0478 opened 6 years ago

waml0478 commented 6 years ago

I have problems with the widget when the form performs the action update. When I make an update in the form, the field that uses the widget appears empty even if it contains information and only allows the modification if a new item is added.

I need that when doing the update, in the field the previously selected items are shown and I do not force myself to add a new item.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/63858462-problems-with-the-widget-in-update-action-controller?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github).
Aresenka commented 1 year ago

Same for me. It is impossible to figure out what actually user did with the file: deletion and doing nothing looks exactly the same for the server (as an empty payload). This made the widget completely useless for update actions..