()
| 186 | } |
| 187 | |
| 188 | createExampleComponent() { |
| 189 | return Neo.create(TextField, { |
| 190 | clearable : true, |
| 191 | labelPosition: 'inline', |
| 192 | labelText : 'Label', |
| 193 | labelWidth : 70, |
| 194 | minLength : 3, |
| 195 | value : 'Hello World', |
| 196 | width : 200, |
| 197 | |
| 198 | listeners: { |
| 199 | change(value) { |
| 200 | this.down({reference: 'error-field'}).clear(); |
| 201 | }, |
| 202 | scope: this |
| 203 | } |
| 204 | }) |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | export default Neo.setupClass(MainContainer); |