[TIMOB-7224] MobileWeb: Create a Ti._.UI.TextBox base class for TextArea and TextField
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-01-20T16:35:41.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
| Components | MobileWeb |
| Labels | stage, stage2 |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2012-01-16T13:07:07.000+0000 |
| Updated | 2017-03-03T23:22:39.000+0000 |
Description
We need a base class that extends Widget that exposes common methods and properties for TextArea and TextField.
Methods:
* blur()
* focus()
* hasText()
Properties:
* autocapitalization
* autocorrect
* editable
* enabled
* returnKeyType - may not be possible, try wrapping the textarea in a form with a hidden submit button
* suppressReturn [stage]
* textAlign - Ti.UI.TEXT_ALIGNMENT_[LEFT|RIGHT|CENTER] [stage]
* value
Events:
* blur
* change
* focus
* return
Attachments
| File | Date | Size |
| app.js | 2012-01-20T10:44:56.000+0000 | 2719 |
| app.js | 2012-01-19T11:37:42.000+0000 | 2481 |
| app.js | 2012-01-19T11:36:49.000+0000 | 1810 |
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1216
Closing ticket as MobileWeb is no longer supported.