File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8080 </div >
8181 <div class =" flex justify-end" >
8282 <SecondaryButton @click =" close" :disabled =" loading" >Cancel</SecondaryButton >
83- <PrimaryButton class =" ml-4" :disabled =" allowSubmit ? !allowSubmit(model) : false" >{{ submitLabel }}</PrimaryButton >
83+ <PrimaryButton class =" ml-4" :disabled =" loading || ( allowSubmit ? !allowSubmit(model) : false) " >{{ submitLabel }}</PrimaryButton >
8484 <slot name =" rightbuttons" :instance =" getCurrentInstance()?.exposed" :model =" model" ></slot >
8585 </div >
8686 </div >
@@ -279,4 +279,4 @@ function close() {
279279const globalKeyHandler = (e : KeyboardEvent ) => { if (e .key === ' Escape' ) close () }
280280onMounted (() => window .addEventListener (' keydown' , globalKeyHandler ))
281281onUnmounted (() => window .removeEventListener (' keydown' , globalKeyHandler ))
282- </script >
282+ </script >
You can’t perform that action at this time.
0 commit comments