You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to enhance the UpWindowAngularComponent to support a "restricted mode" where the modal can only be closed using the "Cancel" or "Confirm" buttons. In this mode, the close button (×) should be hidden, and clicking on the overlay should not close the modal.
Acceptance Criteria:
Restrict Mode Input:
Add an input property restrictMode: boolean to the UpWindowAngularComponent.
When restrictMode is set to true, the following changes should apply:
The close button (×) should not be displayed in the modal header.
Clicking on the overlay should not close the modal.
Behavior:
If restrictMode is false:
The close button should be visible, and clicking it should close the modal.
Clicking on the overlay should close the modal as usual.
If restrictMode is true:
The modal should only be closed by clicking the "Cancel" or "Confirm" buttons.
Implementation Notes:
Update the component template to conditionally render the close button based on the value of restrictMode.
Modify the click event on the overlay to check the value of restrictMode.
We need to enhance the
UpWindowAngularComponent
to support a "restricted mode" where the modal can only be closed using the "Cancel" or "Confirm" buttons. In this mode, the close button (×) should be hidden, and clicking on the overlay should not close the modal.Acceptance Criteria:
Restrict Mode Input:
restrictMode: boolean
to theUpWindowAngularComponent
.restrictMode
is set totrue
, the following changes should apply:Behavior:
restrictMode
isfalse
:restrictMode
istrue
:Implementation Notes:
restrictMode
.restrictMode
.Example Usage:
The text was updated successfully, but these errors were encountered: