How to render attribute value to input box in the PropertiesPanel

I want to know how to render attribute value to input box in the PropertiesPanel when I create
a shape in the canvas,Such as create startevent element, its attribute value of id.
QQ%E6%88%AA%E5%9B%BE20181205164437

Hi @qkaihui

I’m not completely sure what you want to achieve. Do you want to modify the initial id-value for newly created elements? Than this topic seems to be a duplicate of this.

Or do you ask for general advice how to set initial attribute values? In this case I think you have to extend the current PropertiesPanel implementation, see this example for guidance. Another way achieving this would be using element templates as described here.