I have two sections, each with text fields.
If i have the user click a button and try to programatically reset these fields to empty values:
// Clear the input from the text fields of all sections
for (IBAFormSection *section in self.formDataSource.sections) {
for (id formField in section.formFields) {
if([formField isKindOfClass:[IBATextFormField class]]) {
((IBATextFormField*)formField).textFormFieldCell.textField.text = @"";
}
}
}
The only time that the fields in the first section will get cleared is if it had focus.
https://github.com/ittybittydude/IBAForms/issues/27Should I be trying to update the underlying datasource model too somehow?