Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readOnly for form. In some cases form must not update any value (E.g. out of write transaction at some DB layer) #386

Open
plandem opened this issue Jun 24, 2015 · 0 comments

Comments

@plandem
Copy link
Contributor

plandem commented 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).

@plandem 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant