Skip to content

Commit 72b9a93

Browse files
committed
Don't error when tabPanel has value but tabsetPanel doesn't have id
Causes problems now that tabPanel always has a value
1 parent 128df6a commit 72b9a93

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

R/bootstrap.R

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,11 +1576,6 @@ buildTabset <- function(tabs,
15761576
tabId <- tabId + 1
15771577

15781578
tabValue <- divTag$attribs$`data-value`
1579-
if (!is.null(tabValue) && is.null(id)) {
1580-
stop("tabsetPanel doesn't have an id assigned, but one of its tabPanels ",
1581-
"has a value. The value won't be sent without an id.")
1582-
}
1583-
15841579

15851580
# function to append an optional icon to an aTag
15861581
appendIcon <- function(aTag, iconClass) {

0 commit comments

Comments
 (0)