Closed
Description
internally will change to defaultValue or defaultChecked
INPUT(type: :checkbox, init: true)
INPUT(type: :radio, init: true)
INPUT(type: :radio, init: false)
SELECT(init: 'some value') do ...
INPUT(type: :text, init: 'some value')
INPUT(init: 'some value') # same as type: :text
TEXTAREA(init: 'some value')
Together with #111 this makes uncontrolled inputs quite a bit more succinct:
name = INPUT(type: :text, init: some_model_for_example.name)
BUTTON { 'save' }.on(:click) { some_model_for_example.update name: jq[name].value }