Change lane label by list

i have a dropdownlist, so , when i select one of them i want to put that text on a lane or task label.

how can i do that?
thank you

The general method to update an elements properties (e.g., name) is modeling#updateProperties.

modeling.updateProperties(lane, {
  name: 'Foo'
});

Where and how should i declare that “modeling” var? Im getting error when im using that method
Thank you for your help

When im using this method LabelEditingProvider.prototype.update it gives an error in this line, also i want to ask if you have a tutorial in spanish language to understand this library

Please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart:

modeling can be fetched by the bpmn-js Modeler instance, so

var modeling = modeler.get('modeling');

as shown in this set of examples.