diff --git a/geos-pv/src/geos/pv/plugins/generic_processing/PVCreateConstantAttributePerRegion.py b/geos-pv/src/geos/pv/plugins/generic_processing/PVCreateConstantAttributePerRegion.py index ea8487fe..a809d127 100644 --- a/geos-pv/src/geos/pv/plugins/generic_processing/PVCreateConstantAttributePerRegion.py +++ b/geos-pv/src/geos/pv/plugins/generic_processing/PVCreateConstantAttributePerRegion.py @@ -155,17 +155,17 @@ def groupRegionAttributeSettingsWidgets( self: Self ) -> None: self.Modified() # Settings of the new attribute: - @smproperty.xml( """ - - - Name of the new attribute to create. - - + @smproperty.stringvector( + name="AttributeName", + label="The name of the new attribute:", + number_of_elements="1", + default_values="newAttribute", + panel_visibility="default", + ) + @smdomain.xml( """ + + Name of the new attribute to create. + """ ) def setAttributeName( self: Self, newAttributeName: str ) -> None: """Set attribute name.