From 7d497f565bd998487a52e469963c26f11b3e9c4c Mon Sep 17 00:00:00 2001 From: Melloware Date: Thu, 19 Sep 2024 09:30:19 -0400 Subject: [PATCH] Fix #7218: DT Customers TS example updated (#7223) --- components/doc/datatable/samples/customersdoc.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/doc/datatable/samples/customersdoc.js b/components/doc/datatable/samples/customersdoc.js index 0986823e5b..09e981c162 100644 --- a/components/doc/datatable/samples/customersdoc.js +++ b/components/doc/datatable/samples/customersdoc.js @@ -448,10 +448,10 @@ import { InputText } from 'primereact/inputtext'; import { IconField } from 'primereact/iconfield'; import { InputIcon } from 'primereact/inputicon'; import { Dropdown, DropdownChangeEvent } from 'primereact/dropdown'; -import { InputNumber, InputNumberValueChangeEvent } from 'primereact/inputnumber'; +import { InputNumber } from 'primereact/inputnumber'; import { Button } from 'primereact/button'; import { ProgressBar } from 'primereact/progressbar'; -import { Calendar, CalendarChangeEvent } from 'primereact/calendar'; +import { Calendar } from 'primereact/calendar'; import { MultiSelect, MultiSelectChangeEvent } from 'primereact/multiselect'; import { Slider, SliderChangeEvent } from 'primereact/slider'; import { Tag } from 'primereact/tag'; @@ -616,7 +616,7 @@ export default function CustomersDemo() { }; const dateFilterTemplate = (options: ColumnFilterElementTemplateOptions) => { - return options.filterCallback(e.value, options.index)} dateFormat="mm/dd/yy" placeholder="mm/dd/yyyy" mask="99/99/9999" />; + return options.filterCallback(e.value, options.index)} dateFormat="mm/dd/yy" placeholder="mm/dd/yyyy" mask="99/99/9999" />; }; const balanceBodyTemplate = (rowData: Customer) => { @@ -624,7 +624,7 @@ export default function CustomersDemo() { }; const balanceFilterTemplate = (options: ColumnFilterElementTemplateOptions) => { - return options.filterCallback(e.value, options.index)} mode="currency" currency="USD" locale="en-US" />; + return options.filterCallback(e.value, options.index)} mode="currency" currency="USD" locale="en-US" />; }; const statusBodyTemplate = (rowData: Customer) => {