Clear BoundingBox

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:

  1. A clear() or reset() method for the component.
  2. A way to programmatically set or clear the component’s value.
  3. 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?

Hello @Phil_Douglas,

Apologies for the issue, that seems like an oversight on our part.

Given that most other components have a way to clear state this is very unusual :thinking:

I can make a feature request for clear/reset method right now!

It doesn't seem that there is a current work around, but I am sure having this functionality is on the roadmap for this component.

I am curious about point 3. Is there currently an issue where the state of the component is changing without user interaction?