instance method Form.Element#setValue

View source on GitHub →

Form.Element#setValue(value) → Element

Sets value to be the value of the form control. Returns the element.

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.