Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListGroup won't toggle open state on custom PropertiesPanel groups when using with form-js #351

Open
maximryzhov opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maximryzhov
Copy link

Describe the Bug

image

Use case: user wants to add a ListGroup component to the PropertiesPanel for a custom form-js widget, similar to Custom Properties, Static Options or Header Items in order to add a dynamic list of custom entries.

Outcome: it is possible to add a ListGroup, but the item list can't be opened. The 'bio-properties-panel-list' div never receives the 'open' CSS class. It is possible, however to add 'open' class to the div in the browser 'Elements' tab and see the list contents, add or remove list items. But still it won't toggle back to the closed state.

Note: the isssue doesn't occur when using Properties Panel with bpmn-js editor.

Steps to Reproduce

Please refer to this repo
https://github.com/maximryzhov/form-js-properties-panel-listgroup-bug
git clone, run npm install and run npm run start. I am using a slightly modified version of Range component from form-js-examples repo.

Expected Behavior

User can add a ListGroup component to the PropertiesPanel. When clicked on the component header or on the chevron icon, the list is expected to expand and show the list of the items.

Environment

  • Host (Browser/Node version), if applicable: MS Edge 123.0.2420.97
  • OS: Windows 11
  • properties-panel version: 3.18.2
  • form-js verstion: 1.8.3
@maximryzhov maximryzhov added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant