Currently, I use shinyjs to disable tabs, but this only happens after communication happens between the client and the server. Which means that for a brief period of time, variable depending on internet speed and lag, the tabs are enabled. Is there a way to ensure that a control (tabs in this case, but the same can be said of buttons and other controls) starts as disabled, without having to rely on css classes manually?
Hi @sbo. You may use insertTab
to insert the tab after start with condition. For other inputs, use insertUI
.
I don't see any facility to set a tab as disabled. Disabling is normally obtained by changing the CSS class, but there's no way of overriding that in any tab controlling functions.
This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.