formio / react

JSON powered forms for React.js

Home Page:https://form.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to get an active tab or do I get a callback when I change the tab?

nitesh-sharecare opened this issue · comments

Is there any way to get an active tab or do I get a callback when I change the tab?

@nitesh-sharecare can you please specify:

  1. what tab you're mentioning? Is it about Tabs component?
  2. can you please describe your use case in more detail?

Hi, I solved it via Javascript document.getElementsByClassName('nav-link active')[0].href.indexOf('tab1') > 0 -> Tab1 is active ...
Best regads.