I have a component that I made called myspecial_progressbar. I’m trying to feed it a percentage value. I was hoping there would be a way to do the conversion somehow. I had this as a widget initially so that I could do the conversion, but this feels like it is something should be doable as a component. I know this won’t work since the expressions is creation time only, but it does illustrate what I am trying to do.
<prop name="processing_subject" type="subject" default="processing_percent_complete" />
<myspecial_progressbar progress_percent="{lv_pct($processing_subject)}" />
If a subject could be a percentage, that would fix it. I tried using a string, but the progress_percent is used to fill ‘height’ and height only accepts ints or percentages.