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

Ditry forms and bootstrap tabs #137

Open
argiropn opened this issue Mar 6, 2021 · 0 comments
Open

Ditry forms and bootstrap tabs #137

argiropn opened this issue Mar 6, 2021 · 0 comments

Comments

@argiropn
Copy link

argiropn commented Mar 6, 2021

My page contains multiple forms in separate tabs. Tabs are implemented with bootstrap Navs (https://getbootstrap.com/docs/4.0/components/navs/) .
Dirty form dialog is non activated when I click a tab anchor (e.g. <a href="#divTab1" class="nav-link" ..). Why ?

My goal is to have dirtyforms detect the dirty state of a tab and popup the dialog. And if finally user decides to procced I need to clean the dirty state of the leaving tab before switching to the new one. I tried already the answer I found here and partially made the job but it popups up the dialog every time I click on any tab.

The environment :

  • Dirty forms V2.0
  • Dirtyform Dialog Bootstrap V2,0
  • Bootstrap V4.6
  • JQuery V3.5.1

Thanks in advance

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

No branches or pull requests

1 participant