dialog: allow disabling controls from rendering
This commit is contained in:
1 parent
6630051d67
commit
3cdda64686
2 files changed
+82
-56
No files matched your search
@@ -523,7 +523,8 @@
|
||||
dialog.close();
|
||||
alert('Dialog submitted!');
|
||||
}
|
||||
}
|
||||
},
|
||||
cancel: null
|
||||
}}
|
||||
onopen={(dialog) => {
|
||||
dialog.error('Example error message!');
|
||||
|
||||
Reference in new issue
Block a user