escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS
http://escoz.com/open-source/quickdialog
Other
3.07k stars 637 forks source link

QEntryElement no longer updates when setting the textValue property #678

Open GoldenJoe opened 10 years ago

GoldenJoe commented 10 years ago

Before, you could just do something like:

[myElement setTextValue:@"somevalue"];

However, the value no longer updates properly. You must dig deep to find the actual textfield and set it manually:

[((QEntryTableViewCell *)[self.quickDialogTableView cellForElement:myElement]).textField setText:@"somevalue"];

Please restore the old functionality. It's inconvenient and bug-prone to have to dig up the textField.

kepeifeng commented 9 years ago

just keep in mind that QElements are just data. you may need to reload the element/cell to reflect the changes.