Skip to content

Why does it work with multiple-entity-row but not template-entity-row? #70

Answered by jcwillox
dieugab asked this question in Q&A
Discussion options

You must be logged in to vote

So it depends on how the row is constructed, the plugin looks for the generic-entity-row component that many rows use, rows that do not use that underlying component will not be detected. This is why you can't embed paper buttons in itself. It's necessary to do it this way as generic-entity-row has a consistent structure, meaning we can reliably extract the config and insert the buttons. Support could be added on a per-row basis, but this would be a lot of work to maintain and likely break over time.

Now in the case of template-entity-row, it does use generic-entity-row correctly and the buttons are actually inserted, however, it does something weird and hides the generic-entity-row and h…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dieugab
Comment options

Answer selected by dieugab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants