I'm using the Bounding Box component to select regions on images (for example, to crop them), and I’ve run into a significant issue: there’s currently no way to programmatically reset or clear the bounding boxes between uses.
The problem:
- Old bounding boxes remain when the component is reused.
- The "change" event fires immediately, even before the user interacts again.
- There’s no reset(), setValue(), or any other method to clear annotations, which means I have to refresh the entire app between uses.
This creates a poor experience in workflows where users need to annotate multiple images in sequence. It leads to stale boxes being reused and unexpected behavior.
What would help:
- A clear() or reset() method for the component.
- A way to programmatically set or clear the component’s value.
- A way to prevent "change" from firing unless the user actually makes a change.
Is there a workaround available for this today, or is support for this planned?