In property panel i have customized popup and populated data into input field but the data is not setting to the node properly.when i will enter manually like data-entry then it is setting to the node perfectly.
Thanks for your reply.No errors in console.But actually my requirement is i need one popup,from popup i will populate data into text fields.That data need to set for the particular node and saves in database.I’m unable to create popup with the below attached piece of code.
Code
var entityTypeEntry = entryFactory.textField({
id: 'entityType',
description: '',
label: 'Entity Type',
modelProperty: 'entityType',
validate: function(element, values) {
var entityTypeValue = values.entityType;
var validationResult = {};
var businessObject = getBusinessObject(element),
newObjectList = [];
var bo = getBusinessObject(element);
var assigned = bo.$model.ids.assigned(entityTypeValue);
var idExists = !!assigned && assigned !== bo;
if (!entityTypeValue || idExists) {
validationResult.id = "Element must have an unique id.";
}
return validationResult;
if (typeof values.entityType !== 'undefined' && values.entityType !== '') {
newObjectList.push(bpmnFactory.create('bpmn:EntityType', {
text: values.entityType
}));
}
}
});
group.entries.push(entityTypeEntry);
I am creating text field like this.I need popup for this field and data for this field should be populated from popup,that will be set for the node.Please help me to achieve this.