Skip to content

Pop-up Modal is not getting close. #717

Open
@kchsravanthi

Description

@kchsravanthi

#Issue Details
Pop-up Modal is not getting close.
When a error alert is coming in popup modal form after closing error alert when we are trying to close popup modal not getting closed first time.

Type of Issue (check one with "X")
Bug/Defect

Current Behavior

When a error alert is coming inside the popup modal form after closing error alert when we are trying to close popup modal not getting closed first time. Pop modal is getting closed second time.

Expected Behavior

When a error alert is coming in popup modal form after closing error alert when we are trying to close popup modal should be closed immediately.

How to Reproduce the Issue

Steps to Reproduce

1)Create a form
2)Create popup modal form
3)Click button to open popup modal
4)Enter any invalid input to show error alert
5)Close error alert
6)Close Popup Modal(Not getting closed first time)

Code Snippet

Popup Modal creation
@modal(closable = true)
@Label(value = "Add")
private SampleModal SampleModal;
@model
@Getter
@Setter
public static class SampleModal {
@config(url = "<!#this!>/../_process?fn=_setByRule&rule=togglemodal")
@button(style = Button.Style.PLAIN, type = Button.Type.button)
Screen shots.docx
private String closeModal;
}
PopupModal Form
@model
@Getter
@Setter
@MapsTo.Type(Sample.class)
public static class SampleModalForm {
@path
@fileupload(url="sampleurl", metaData="",type= ".png,", cssClass="oneColumn")
private String info;
@button
@Label(value = "Submit")
private String add;
}}

Environment Details

  • Nimbus Version:
    1.3.2.M2

  • Browser:
    All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions