#22 ✓invalid
Andrew Coleman

Select Multiple sets invalid values

Reported by Andrew Coleman | August 29th, 2008 @ 07:52 PM | in 1.0

When using the setValue command with the select multiple option, the function will go and reset already checked checkboxes to false even if the value is to be set. This causes problems when you want to set a multiple value on page load, since the net result is that the last value is the only one that gets saved and displayed. Here is a patch that will set all of the checkboxes to false then only set the checkboxes to true of the values it is given.

As a side note, using the default options key of 'value' does not work at all. I have no idea there.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/

High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.

People watching this ticket

Attachments

Pages