List View Add Input Field based on Checkbox Tree

Hello All,

I was hoping to get some help with a listView problem I am having. I currently have a listView component and inside I have a checkbox tree. I want to populate a number input field based on each checkbox selected and have the label of that number input be the checked box label.

Is that possible?

Thanks,

Not sure if this is something possible but hoping somebody has a potential solution please?

Thanks,

Hey! This is totally possible. Here's a simple example:

In your List View component, set data to {{ checkboxTree1.checked }}, which is a list of the items checked off. You can then access each of those via the {{ item }} key word. I used this key word for the value of each input's label.

Screenshot 2024-03-15 at 1.22.03 PM