From d7d92c8c6969568bab24815deb03303769b95286 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Fri, 25 Jul 2025 09:46:50 +0100 Subject: [PATCH 1/2] Make matrixInputs' labels' classes like other Shiny inputs' --- R/matrixInput.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/matrixInput.R b/R/matrixInput.R index 6c900c5..9840413 100644 --- a/R/matrixInput.R +++ b/R/matrixInput.R @@ -103,7 +103,7 @@ matrixInput <- function(inputId, singleton(tags$head(tags$link(rel = "stylesheet", type = "text/css", href = "shinyMatrix/matrix-input.css"))), tags$div( class = "form-group shiny-matrix-input-container shiny-input-container-inline shiny-input-container", - if (!is.null(label)) tags$label(label, `for` = inputId) else NULL, + tags$label(class = c("control-label", if (is.null(label)) "shiny-label-null"), `for` = inputId, label), inputField ) ) From 550b2a1cf7344cc5df89a9195ba6398e6d0da03e Mon Sep 17 00:00:00 2001 From: John Dawson Date: Fri, 25 Jul 2025 12:55:23 +0100 Subject: [PATCH 2/2] Greaten the version, from 0.8.0 to 0.8.1 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index c4c1c3b..1690a2d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: shinyMatrix Title: Shiny Matrix Input Field -Version: 0.8.0 +Version: 0.8.1 Date: 2024-04-10 Author: Andreas Neudecker Maintainer: Andreas Neudecker