#154 enhancement

Form.Element.setValue needs better docs

Reported by SWilk | November 10th, 2009 @ 06:58 PM

The Form.Element.setValue method does not change the value of checkboxes and radios, instead it changes the checked state.

The Docs says that the method sets value of an element.

I think that the docs should clarify, that for checkbox and radio inputs the function does not change the value attribute.

The test page:

Proposed doc:
Sets value to be the value of the form control. Returns the element.
For input with type checkbox or radio, sets checked state and does not affect the value attribute.

Best regards,

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 ยป

Shared Ticket Bins

Referenced by