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 #35196, layer was not set on QgsFieldExpressionWidget #36824

Conversation

SebastienPeillet
Copy link
Contributor

Description

The PR fixes issue #35196 . As explained by @Gustry, the visibility expression filter for container is not populated with layer's fields in the attributes form configuration (Drag and Drop mode) :

image

image

Usually we set the reference layer to QgsFieldExpressionWidget, so it can use layer's fields in expression filter. But it wasn't done for QgsAttributeFormContainerEdit.

Simple as this :) :
image

I don't know if there is a test to do for this. QgsFieldExpressionWidget is already tested

@SebastienPeillet SebastienPeillet force-pushed the QgsFieldExpressionWidget_not_populated_in_QgsAttributeFromContainerEdit branch from 172c8fd to 39e40f2 Compare May 29, 2020 10:50
@github-actions github-actions bot added this to the 3.14.0 milestone May 29, 2020
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.

None yet

2 participants