Replace removes valid dropdown property
See original GitHub issueDescribe the Bug
As I upgrade a task from one template to the other a valid property gets removed unintentionally, despite the fact it should be kept according to our good practices (unlink + apply new template
shall always be equivalent to replace (with new template)
).
Steps to Reproduce
- Go to connectors extension demo
- Open REST Task diagram
- Replace legacy REST Task with
REST Connector Template
- See that username and password entered are gone and authentication type is reset to No Auth (despite being set to
basic
in the original template)
Expected Behavior
- Valid template data is kept: username, password, and authentication type are kept
Environment
- Host (Browser/Node version), if applicable: Any
- OS: Arch
- Library version: latest (2022-09-19)
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Replacing input fields from select choices (dropdown menu ...
Does anyone know how I can hide/show or add/remove these elements from the page? Would it be more-or-less the same if I had...
Read more >Video: Drop-down list settings - Microsoft Support
This video focuses on how to use a cell range and named range. Want more? Create a drop-down list · Add or remove...
Read more >Dropdown | Dash for Python Documentation | Plotly
The searchable property is set to True by default on all dcc.Dropdown components. To prevent searching the dropdown value, just set the searchable...
Read more >location.replace() - Web APIs - MDN Web Docs
The replace() method of the Location interface replaces the current resource with the one at the provided URL. The difference from the ...
Read more >All About ASP.Net DropDownList | Simplilearn
The Remove() property lets us remove items from the drop-down list by their names. DropDownList1.Items.Insert(int index, “ItemName”). The Insert ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Example showing bearer token to work end-to-end:
I added the implementation on top of your branch here: https://github.com/bpmn-io/bpmn-js-properties-panel/pull/796