-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
[Bug]: Default values does not work in edition form when using overlay_contains #4830
Comments
Can you add more context ? Is the expression evaluated as soon as you open the form in QGIS ? Or after some values in the form ? Maybe with the field Is-it on feature creation or modification ? Related to #3226 ? |
Before opening your form in Lizmap, can you open your "developer tools" F12, and see if there is an HTTP requests when you open the form ? In the "Network" tab. There is one HTTP request for the form itself and another one for expressions I think |
hi @Gustry Here is a screenshot. But I don't see any interesting information here. Would you like more detail I think the issue is that the form pops up before geometry drawing. That mean the formula can't be evaluated. I tried keeping the default value formula in QGIS but removing the field from the edit form, but same results |
Yes, this is definetely a blocker. So you can look at the ticket mentioned earlier #3226 it's a "metaticket" now, there a few cases of expressions to work on. |
This issue is missing some feedbacks. 👻 |
What is the bug? (in English)
I have an edition form valid in QGIS where the default value of a given field is calculated with this QGIS formula:
This does not work in Lizmap when client
Steps to reproduce the issue
Make a prefilled field based on overlay_contains formulas
Versions, safeguards, check summary etc
Versions :
List of safeguards :
Check Lizmap plugin
Operating system
Lizmap hosted
Browsers
Chrome
Browsers version
129.0.6668.71
Relevant log output
No response
The text was updated successfully, but these errors were encountered: