Hello team,
Am using Tabs (fw-tabs) from crayons version 3.
Am disabling the tab using,
document.querySelector("#tab2").setAttribute(“disabled”, “true”);
The tab gets disabled it’s working fine.
After when I try to enable the tab by using
document.querySelector("#tab2").setAttribute(“disabled”, “false”);
Here am unable to enable the tab and it returns a null value with an error message.
TypeError: Cannot read properties of null (reading ‘setAttribute’)
Are there any possible ways to overcome this issue? @Communiteq