Not Editable attribute on custom widgets

0
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="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../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?
asked
1 answers
2

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.

 

answered