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

oh-list-item not usable in widgets (visual editing not possible, empty output) #892

Closed
c--r opened this issue Feb 9, 2021 · 0 comments
Closed
Labels
bug Something isn't working main ui Main UI

Comments

@c--r
Copy link

c--r commented Feb 9, 2021

The problem

When using an oh-list-item as the main component in a custom widget, I cannot edit the widget properties anymore once the widget has been added to a list on a page. When clicking "Configure Item", you can only edit the config of the underlying oh-list-item, but not the widget properties. The list item also often disappears from the page after saving and can only be found in YAML code. This is is a huge limitation for designing resusable list item (which are a main building block of UIs).
More info can be found in the Forum.

Widget Properties:
image

Properties when putting the widget on a page:
image

Steps to reproduce

Create custom widget with oh-list-item as main component, such as this (or any other). Create a page, add row, column and list card and add the custom widget as list item. Try to edit the widget propoerties.

Your environment

OH3

@c--r c--r added bug Something isn't working main ui Main UI labels Feb 9, 2021
hubsif added a commit to hubsif/openhab-webui that referenced this issue Mar 8, 2021
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
@ghys ghys closed this as completed in c556597 Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

1 participant