File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
packages/orchestrator-ui-components/src/components/WfoSettingsModal Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @orchestrator-ui/orchestrator-ui-components " : patch
3+ ---
4+
5+ Added isDisabled prop to WfoSubmitModal
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export type WfoSubmitModalProps = {
1818 onClose : ( ) => void ;
1919 onSubmit : ( ) => void ;
2020 isLoading : boolean ;
21+ isDisabled ?: boolean ;
2122 submitButtonLabel : string ;
2223 children : ReactNode ;
2324} ;
@@ -28,6 +29,7 @@ export const WfoSubmitModal: FC<WfoSubmitModalProps> = ({
2829 onSubmit,
2930 isLoading,
3031 submitButtonLabel = 'Submit' ,
32+ isDisabled,
3133 children,
3234} ) => {
3335 return (
@@ -50,6 +52,7 @@ export const WfoSubmitModal: FC<WfoSubmitModalProps> = ({
5052 isLoading = { isLoading }
5153 fill
5254 onClick = { onSubmit }
55+ isDisabled = { isDisabled }
5356 >
5457 { submitButtonLabel }
5558 </ EuiButton >
You can’t perform that action at this time.
0 commit comments