Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Update event listener options in sidebarEditValues function to use capture phase for input change detection, ensuring more accurate handling of user interactions.

Muhammad Hamza Khanbbdeb5f7d406
diff --git a/packages/app/src/builder-ui/ui/dialogs.ts b/packages/app/src/builder-ui/ui/dialogs.ts
index 246c928c..a4c0450e 100644
--- a/packages/app/src/builder-ui/ui/dialogs.ts
+++ b/packages/app/src/builder-ui/ui/dialogs.ts
@@ -1178,7 +1178,7 @@ export function sidebarEditValues({
if (target.matches('input:not([type="checkbox"]):not([type="radio"]), textarea')) {
debouncedDraft();
}
- });
+ }, true);
// Listen for committed changes (select, checkbox, radio)
_form.addEventListener('change', (event: Event) => {
@@ -1186,7 +1186,7 @@ export function sidebarEditValues({
if (target.matches('select, input[type="checkbox"], input[type="radio"]')) {
debouncedDraft();
}
- });
+ }, true);
_form._init();
forms[tab] = { form: _form, fields: formFields };