xmartlabs / XLForm

XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C.
MIT License
5.77k stars 953 forks source link

Ability to change TextField Auto Capitalization #1071

Open reggatta opened 4 years ago

reggatta commented 4 years ago

I would like to be able to change the autocapitalization for row descriptor that is using a UITextField. My app crashes when I try:

[row.cellConfigAtConfigure setObject:@(UITextAutocapitalizationTypeNone) forKey:@"textField.autocapitalizationType"]

The error is that the autocapitalizationType property is not code-value compliant. It would be great if we could just set this property on the row descriptor directly or allow the code above to work. Or, allow us access directly to the embedded textfield.