[Lift] Re: Clearing out options when submitting an empty multiSelect form

2009-09-16 Thread Aaron Valade
On Sep 16, 2009, at 1:07 PM, Derek Chen-Becker wrote: > What's happening here is that the form doesn't submit a field for > "beacons" at all if nothing is selected, so the callback doesn't get > called. What I typically do in scenarios like this is add a hidden > field whose callback clears

[Lift] Re: Clearing out options when submitting an empty multiSelect form

2009-09-16 Thread Derek Chen-Becker
What's happening here is that the form doesn't submit a field for "beacons" at all if nothing is selected, so the callback doesn't get called. What I typically do in scenarios like this is add a hidden field whose callback clears the collection. In your case, you could move the "location.beacons.cl