Hi Nicolas,
it seems to me this https://github.com/qgis/QGIS/pull/52143 PR (which is
awaiting for reviews) may be related to your questions.
Best regards.
Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:
fill an issue as the doc should should be more explicit or
behavior fixed.
De : QGIS-Developer de la part de
Andrea Giudiceandrea via QGIS-Developer
Envoyé : vendredi 24 février 2023 17:50
À : qgis-developer@lists.osgeo.org
Objet : Re: [QGIS-Developer] para
Il 24/02/2023 17:37, Andrea Giudiceandrea ha scritto:
|In addition, the parameter defaultValue should be set to a single
value and not to a list if ||allowMultiple is set to False.|
|... and it should be populated with the index number
(|allowMultiple=False) |or a list of index numbers
Hi Nicolas,
I don't know if it is the intended behaviour, anyway it seems to me
parameterAsEnumString and parameterAsEnumStrings return the correct
value when |usesStaticStrings is set to True, while parameterAsEnum and
parameterAsEnums when ||usesStaticStrings is set to False.
In addition,
always return default value
Dear devs,
I noticed in a custom alg that `parameterAsEnumStrings` always return the
default value set in QgsProcessingParameterEnum.
Below a example alg to reproduce.
i prefere to start with an email before raising an issue as I could miss
something
In alg window
Dear devs,
I noticed in a custom alg that `parameterAsEnumStrings` always return the
default value set in QgsProcessingParameterEnum.
Below a example alg to reproduce.
i prefere to start with an email before raising an issue as I could miss
something
In alg window select any value different