…selected option even without 'Done' being pressed. This is fine in most cases as the 'Cancel' button resets the value in the textField. However if the super view receives a 'endEditing' call then DownPicker is hidden without resetting the value in the textField. Added support for a new flag 'updateTextFieldValueOnlyWhenDonePressed'. The default value is NO so there is no change to default DownPicker functionality. But the flag can be set to YES to take advantage of the new functionality.
…selected option even without 'Done' being pressed. This is fine in most cases as the 'Cancel' button resets the value in the textField. However if the super view receives a 'endEditing' call then DownPicker is hidden without resetting the value in the textField. Added support for a new flag 'updateTextFieldValueOnlyWhenDonePressed'. The default value is NO so there is no change to default DownPicker functionality. But the flag can be set to YES to take advantage of the new functionality.