From 6f31a6cbbd839021a852d55761f0881f176c692b Mon Sep 17 00:00:00 2001 From: Mikel Madariaga Date: Mon, 27 May 2024 07:54:59 +0200 Subject: [PATCH] include datetime picker in the fast search field --- library/package.json | 2 +- library/src/components/List/Content/FastSearchField.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/library/package.json b/library/package.json index 4eca20a..4835667 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@irontec/ivoz-ui", - "version": "1.3.8", + "version": "1.3.9", "description": "UI library used in ivozprovider", "license": "GPL-3.0", "main": "index.js", diff --git a/library/src/components/List/Content/FastSearchField.tsx b/library/src/components/List/Content/FastSearchField.tsx index ae0d390..2ae7b66 100644 --- a/library/src/components/List/Content/FastSearchField.tsx +++ b/library/src/components/List/Content/FastSearchField.tsx @@ -126,10 +126,13 @@ const FastSearchField = ( ); } + const type = + firstColumnSpec.format === 'date-time' ? 'datetime-local' : 'text'; + return (