You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For, example....in Realm, you can't update any property if DB is not in write transaction.
But in common cases, you enter info, tap 'save' - save info (commitTransaction) and close viewController. Right now we will have crash, because DB is not at write transaction mode after commit, but FXForm still tries to update values at resignFirstResponder during hiding the viewController. So we need ability to stop any further updates to form's values (forget about visual controls, we need to prevent updates to form).
The text was updated successfully, but these errors were encountered:
plandem
changed the title
readOnly for form. In some cases form must update any value (E.g. out of write transaction at some DB layer)
readOnly for form. In some cases form must not update any value (E.g. out of write transaction at some DB layer)
Jun 24, 2015
For, example....in Realm, you can't update any property if DB is not in write transaction.
But in common cases, you enter info, tap 'save' - save info (commitTransaction) and close viewController. Right now we will have crash, because DB is not at write transaction mode after commit, but FXForm still tries to update values at resignFirstResponder during hiding the viewController. So we need ability to stop any further updates to form's values (forget about visual controls, we need to prevent updates to form).
The text was updated successfully, but these errors were encountered: