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

Fix value relation filter breaking after changing attribute value(s), improve relation editor widget handling of multiline feature display names #5968

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jan 31, 2025

The value relation's feature list model had its current feature form binding broken when a feature attribute value was changed. This PR fixes that.

In addition, I've fixed multi-line handling within our relation editor widget, which was until now glitching.

Before:
image

PR:
image

@qfield-fairy
Copy link
Collaborator

Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I get it right, we had the siblingValueChanged as a remnant when this had to be handled via QML, but nowadays the model is keeping the right active feature.

Nice fix on the side.

@nirvn
Copy link
Member Author

nirvn commented Feb 1, 2025

@suricactus , exactly.

@nirvn nirvn merged commit f85a008 into master Feb 1, 2025
25 checks passed
@nirvn nirvn deleted the valuerelation branch February 1, 2025 07:55
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.

3 participants