From 5bd9772535f86142c738455509ecddb3c987ec4c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 14 Dec 2023 11:41:59 -0500 Subject: [PATCH] fix: rely on Form.Control and controlId in Form.Group --- src/DataTable/filters/TextFilter.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/DataTable/filters/TextFilter.jsx b/src/DataTable/filters/TextFilter.jsx index 10f079f645..30b0f7d80f 100644 --- a/src/DataTable/filters/TextFilter.jsx +++ b/src/DataTable/filters/TextFilter.jsx @@ -23,10 +23,9 @@ function TextFilter({ const formattedHeader = formatHeaderForLabel(Header); const inputText = React.isValidElement(formattedHeader) ? formattedHeader : `Search ${formattedHeader}`; return ( - - {inputText} - + {inputText} + {