Skip to content

Commit

Permalink
include datetime picker in the fast search field
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed May 27, 2024
1 parent 6d1aad4 commit f1a8438
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 4 additions & 1 deletion library/src/components/List/Content/FastSearchField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,13 @@ const FastSearchField = (
);
}

const type =
firstColumnSpec.format === 'date-time' ? 'datetime-local' : 'text';

return (
<StyledSearchTextField
name='fast_search'
type='text'
type={type}
error={false}
value={value}
errorMsg=''
Expand Down

0 comments on commit f1a8438

Please sign in to comment.