I’m looking for a widget, extension or whatever thar does the following.
Let’s say I have a dropDownList with some values, I select one of them and I click a button called “Add”, and the widget adds the value to an array. Once it’s added I want the option to remove the item.
YiiWheels has something like this but for file uploads.
Do you know any widget or extension that does what I need?
This can be done quite easily using ajax and client-side templating.
Basically, you get your stored record as json and pass it to client, where you render your client-side template and insert it to table.
(also you can pass HTML, but it’s not very good for a couple of reasons)
I know I can do it manually, but I didn’t want to reinvent the wheel so I’m checking if there’s any widget that does the same.