关于属性面板属性获取和禁用input???

image
我需要获取这些值以及禁用标识input,但是我没有找到方法!
thanks!
目前,我获取和禁用的方式如下:
image
我想这并不是合适的方式

Please ask questions in English. We don’t speak Chinese.

Thanks for your reply!
Sorry, my English is not good, very sorry!
I need to get these values and disable identity input, but I can’t find a way!
The above code is the way I am at the moment, but I know it is not correct!So, I want to know the right way?

you should write your own PropertyProvider to customize the property-panel.

你要重写PropertyProvider才行,比如在CamundaPropertiesProvider.js里把这个注释掉,那么ID这个属性框就不会展示了:

// idProps(generalGroup, element, translate, idOptions);
nameProps(generalGroup, element, bpmnFactory, canvas, translate);
processProps(generalGroup, element, translate, processOptions);
versionTag(generalGroup, element, translate);
executableProps(generalGroup, element, translate);
elementTemplateChooserProps(generalGroup, element, elementTemplates, translate);

Thanks for your reply!
I don’t think I want to customize the property-panel,
I just want to get the value of ‘input’ and at some point set ‘disabled’ for ‘input’.
I just didn’t do it the right way, as you can see from the code above.
The reason I’m not redefining the properties panel is because the properties panel has the functionality I want. I don’t need to add or remove anything!

  • I just want to get the ‘valeu’ of the properties panel.
    image
    I found ‘value’ here, but I’m not sure if I did it right!

image
你需要在panel的getTables方法中重新定义tabs
image
这个方法最终需要return一个标准的tabs数组

Hi guys,

please keep the communication inside the forum in English. Otherwise we won’t be able to help you.