dialog: allow disabling controls from rendering

This commit is contained in:
Elijah Duffy
2025-12-17 22:17:42 -08:00
parent 6630051d67
commit 3cdda64686
2 changed files with 82 additions and 56 deletions

View File

@@ -523,7 +523,8 @@
dialog.close();
alert('Dialog submitted!');
}
}
},
cancel: null
}}
onopen={(dialog) => {
dialog.error('Example error message!');