Not Editable attribute on custom widgets

Hi all,  I am following the (Build a Pluggable Widget advance learning path), and when I created the widget it shows that attribute is not editable:   Here is the xml code: <?xml version="1.0" encoding="utf-8"?> <widget id="mendix.etoa.EToA" pluginWidget="true" needsEntityContext="true" offlineCapable="true" supportedPlatform="Web" xmlns="" xmlns:xsi="" xsi:schemaLocation=" ../node_modules/mendix/custom_widget.xsd"> <name>ETo A</name> <description>somthinf click</description> <icon/> <properties> <propertyGroup caption="General"> <property key="attribute" type="attribute"> <caption>Attribute</caption> <description>Select the attribute with text</description> <attributeTypes> <attributeType name="String"/> </attributeTypes> </property> <property key="action" type="action"> <caption>On Enter</caption> <description>Action to be performed when Enter key is pressed</description> </property> </propertyGroup> </properties> </widget>   What is the problem here and how can I resolve it?
1 answers

Hi Mariam,


This means the widget is expecting to be inside a dataview, so that you select an attribute of the entity you set for the dataview.