We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7460e7 commit c769398Copy full SHA for c769398
basxbread/layout/components/forms/widgets.py
@@ -1016,6 +1016,9 @@ def __init__(
1016
document.addEventListener('change', (e) => {
1017
that.parentElement.querySelector('[data-file-container]').innerHTML = '';
1018
var widget = new CarbonComponents.FileUploader(that.parentElement);
1019
+ if(e.target.value === "") {
1020
+ return;
1021
+ }
1022
widget._displayFilenames();
1023
widget.setState('edit');
1024
});
0 commit comments