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

Don't write value to model when change comes from model. #315

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

grokys
Copy link
Member

@grokys grokys commented Nov 20, 2024

If a changed value comes from the model, then we shouldn't be writing it back to the model. Usually this would be a no-op but when a StringFormat is applied it causes the formatted value to be sent back to the underlying data model, and if the StringFormat is not round-trippable causes an exception.

If a changed value comes from the model, then we shouldn't be writing it back to the model. Usually this would be a no-op but when a `StringFormat` is applied it causes the formatted value to be sent back to the underlying data model, and if the `StringFormat` is not round-trippable causes an exception.
@grokys grokys marked this pull request as ready for review November 21, 2024 16:58
@grokys
Copy link
Member Author

grokys commented Nov 21, 2024

Tested and given 👍 by customer, so going to merge.

@grokys grokys merged commit 8196b05 into master Nov 21, 2024
3 checks passed
@grokys grokys deleted the fixes/stringformat-exception branch November 21, 2024 16:58
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

Successfully merging this pull request may close these issues.

1 participant