[AC-4938] Support "maxLength" property for TextField inside AlertDialog
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Won't Fix |
Resolution Date | 2017-05-05T13:17:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Kevin Southworth |
Assignee | Shak Hossain |
Created | 2017-05-03T14:52:59.000+0000 |
Updated | 2018-08-14T14:00:09.000+0000 |
Description
Add support for the "maxLength" property of the TextField shown inside the AlertDialog when AlertDialog style is set to Titanium.UI.iOS.AlertDialogStyle.PLAIN_TEXT_INPUT
Hello, Can you share the native docs on this?
This is no native behavior and therefore we can not support it in the Core. You could just validate the input in your
change
event, like this:Hello Hans, Could you tell me how to access the TextField? I don't see an id attached to the text field. We need an id to attach a change event listener. Thanks,