Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pop-up Modal is not getting close. #717

Open
kchsravanthi opened this issue Mar 30, 2020 · 1 comment
Open

Pop-up Modal is not getting close. #717

kchsravanthi opened this issue Mar 30, 2020 · 1 comment

Comments

@kchsravanthi
Copy link

#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

@Sruthilayach
Copy link

Pop-up modal is getting closed. Issue was replicated ,as observed there was no issues .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants