You can also do this with the ai component (other solution)
Quick Demonstration of Prompt optimization to have a consistant result with the AI custom component.
In this example, the AI component is used to reset at once a collection of mechanical parts Checkbox. On the left of the screen of the video a classic glide checkbox component and on the left the Ai component. No glide action is needed. The Ai component listens to the computed column Status and when the value of that column is reset then Checkbox is set to false.
Here is the prompt :
1/ Create a checkbox component no label binded to Selected with Name, Price and Photo next to the checkbox. Set the component background color opacity to 0 and add a thick border with accent color to the Photo when Selected is true. Photo should always be visible.
2/ When the value of Status changes and is equal to reset, the component should automatically respond to this change and update itself to set Selected value to false.