lizmap-plugin icon indicating copy to clipboard operation
lizmap-plugin copied to clipboard

Tooltip : use "represent_value"

Open Gustry opened this issue 4 years ago • 2 comments

According to previous feedbacks, "represent_value" was not working correctly. We should try and test and use it instead of trying to cover all widgets.

Gustry avatar Mar 12 '20 14:03 Gustry

Note for myself :

layer=iface.activeLayer()
widget = layer.editorWidgetSetup(3)
print(widget.config())
# layer.editorWidgetSetup( 3, QgsEditorWidgetSetup( QStringLiteral( "ValueMap" ), config ) );

Gustry avatar Mar 16 '20 15:03 Gustry

This expression represent_value must be used when generating the HTML table.

Gustry avatar Oct 30 '23 09:10 Gustry