MOVED:Bug in report with Text parameter

If you create a report with a text field parameter, then you might have notice that sometimes your parameter is ignored.

This is because the app wait a return pressed event after you entered your parameter value.

 

To correct this bug, replace the method in JSTextInputControlCell:

- (BOOL)textFieldShouldReturn:(UITextField *)txtField

 

by

- (BOOL)textFieldShouldEndEditing:(UITextField *)textField

 

With this modification, the selectedValue will be set even if the user don't press the enter button. This might happend very often, cause the user fill the textfield and directly select the desired output (HTML / PDF) without pressing "enter" before.

 

Hope this helped ;)

 

djt's picture
djt
127
Joined: Oct 25 2011 - 2:05am
Last seen: 9 years 6 months ago

0 Answers:

No answers yet
Feedback