()
| 114 | } |
| 115 | |
| 116 | get value() { |
| 117 | const type = this.$_attrs.get('type') |
| 118 | const value = this.$_attrs.get('value') |
| 119 | |
| 120 | if ((type === 'radio' || type === 'checkbox') && value === undefined) return 'on' |
| 121 | return value |
| 122 | } |
| 123 | |
| 124 | set value(value) { |
| 125 | value = '' + value |