[Extension] DynamicComponent extension

extension

#187

It would be helpful if you provided a screenshot of relevant blocks.


#188

Hi, how do you change the width of dynamic components. I am dynamically creating buttons in a HA but only 5 buttons are visible on screen even though about 8 buttons are created. I want to be able to set all buttons width to fill parent so they can all be visible. Any help?


#189

#190

breaklines

how do i break this lines of checkbox ?


#191

Use this block:

image

It is located in Built-in - Text.


#192

Thanks for the nice extension.

How do I hide this Dynamic component in my screen? I don’t see any method in DynamicComponent to change the visibility to True or False/This is needed as this Dynamic component is persistent and I would like to hide it when the user presses back key or some other action is performed.


#193

Hi!

It is possible to pass HTML text for Label and Buttons of Google icons “MaterialIcons-Regular.ttf”? If so, How Can I do it?


#194

Currently this is not possible.


#195

Noted. Thanks for your promptly answer!


#196

I Hope it will come with the next online version.


#197

dynamic
This something that I am trying to build using dynamic component. It has both vertical and horizontal arrangement. Any kind of help will be appreciated.


#198

Hi I have just created a list using both Dynamic Component as well as Dynamic Companion. Basically it is a user-defined list and I have put checkboxes in front of each item based on the number of items. As the number of items in the list can keep changing so the no. of boxes in front of them also keep changing. Now I have managed to do that thanks to your brilliant extensions. But the issue is that I want to save this list till the next time I open the app and I want to save the state of the checkboxes as well…as in if they were checked or not checked. This is where I’m stumped. Please help!!


#199

Use TinyDB and store the values.


#200

Yes I’m doing that but how to store whether each checkbox is ticked or not? And then how to restore it back when you re-open the app?


#201

Anyone? Please help I’m stuck on this!


#202

@Hossein What would be really good is that there should be a dynamic extension for each component (if applicable), so when in the design view you hover over a component, a selectable option between fixed or dynamic should appear., If I choose a fixed component, this will work as usual and if I choose dynamic, it will work as a non-visible component as “File”, “Notifier1”, etc., I think in that way at view blocks, you could access all the specific characteristics of the selected dynamic component as you would for a fixed component, and that way you would avoid all this problem of being able to meet all known requirements of a fixed component using only a single generic Dynamic extension. Regards.


#203

Hallo everybody,

I searched for an answer but still doesn’t find any… How is it possible to change the text of eg a label or button after creation???
The only solution I’ve found is to delete all the elements and recreate them all, even if only one element has changed.