3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

edition - allow multiple selections in value relation widget #2964

Open josemvm opened 2 years ago

josemvm commented 2 years ago

What is the bug?

form without "allow multiple selections" option imagem

form with "allow multiple selections" option imagem

Steps to reproduce the issue

try to edit

Versions

Versions :

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.16.16

Operating system

Ubuntu 20.04

Browsers

Firefox

Browsers version

99.0.1

Relevant log output

No response

Gustry commented 2 years ago

Lizmap Web Client : 3.4.9

Any chance you can upgrade to latest 3.5 ? (or latest 3.4, but 3.4 is approaching end of life very soon)

josemvm commented 2 years ago

@Gustry you are telling me that this feature works in 3.5 version?

Gustry commented 2 years ago

No. But there is a lot of code changes between 3.4 and 3.5. So we don't want to maintain 3.4 for a long time. 3.6 is coming soon in the coming weeks, which will make 3.4 end of life.

We have some tests about multiple selection working. If you open the edit form, but it seems to be a value relation widget according to the project name. https://demo.snap.lizmap.com/lizmap_3_4/index.php/view/map/?repository=testsrepository&project=form_type_relational_value (you can replace 3_4 by 3_5 3_6)

josemvm commented 2 years ago

hi @Gustry thanks for your suggestions

but i've some issues with 3.5(.3) versions, related to zoom behavior https://github.com/3liz/lizmap-web-client/issues/2772 (with or without filters)

lizmap_

in my project (projection 3763) the map scales are different between 3.4 and 3.5 versions

3.4 - 3.5

141 282 564 1128 2257 4514 9028 18056 - 14076 - STOP here 36112 - 28152 72224 - 56304 144448 - 112608 288895 - 225217 577791 - 450433

Gustry commented 2 years ago

Please use a different ticket when it's not related to the multiple selection

3liz-bot commented 2 years ago

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

3liz-bot commented 2 years ago

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

3liz-bot commented 2 years ago

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

josemvm commented 2 years ago

maybe a WIP here https://demo.snap.lizmap.com/lizmap_3_4/index.php/view/map/?repository=testsrepository&project=form_type_relational_value

3liz-bot commented 2 years ago

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

Gustry commented 6 days ago

Value relation widget with multiple selection is supported. https://sandbox.lizmap.com/lizmap_3_8/index.php/view/map?repository=tests&project=form_edition_all_field_type

Layer form_edition_all_fields_types

@josemvm Can you confirm ?