Is there classname when tab is disabled?

Hi

I’d like to change tab style so tab is tab title is invisiable when tab is disabled. I am wondering if there is classname for disabled. tab has classname and selected_classname. Is there like disabled_classname?

Thanks

    return dcc.Tab(
        [content[0],content[1],content[2],content[3],content[4],content[5],content[6],
         content[7],content[8],content[9],content[10],content[11],content[12],content[13],content[14],content[15]],  
        label=label,
        value=value,
        id=f"{value}-tab",
        className="single-tab",
        selected_className="single-tab--selected",
        # style = dict(display='none') 
        disabled=True,
        #style={'display':'inline-block'}
    )

Hi @roudan

Yes - try using the disabled_className or the disabled_style props :slight_smile:

1 Like

Yes, thank you so much AnnMariew. disabled_className=‘name’ works!

2 Likes