# CMS Filter Date Issue

**URL:** https://forum.finsweet.com/t/cms-filter-date-issue/3170
**Category:** Attributes
**Tags:** cmsfilter
**Created:** [July 24, 2024, 6:30pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170 "2024-07-24T18:30:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![acbdev](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@acbdev](https://forum.finsweet.com/u/acbdev)
#### Post date: [July 24, 2024, 6:30pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/1 "2024-07-24T18:30:00Z")

</div>

Hello Finsweet Support Team,

I am encountering an issue with the CMS Filter on Safari where the following error appears:

**Unhandled Promise Rejection: RangeError: date value is not finite in DateTimeFormat format()**

This issue does not occur in Chrome, where the CMS Filter works perfectly fine. The attributes have been correctly added, and the date format used is ‘July 4, 2021’.

You can test the issue on our site here: [https://events-elevate.webflow.io/](https://events-elevate.webflow.io/) under the date picker titled ‘Veranstaltungstermin’.

Could you please investigate this issue and provide a resolution? Your assistance would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)
#### Post date: [July 25, 2024, 10:40am UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/2 "2024-07-25T10:40:35Z")

</div>

hey @acbdev! Can you please share a read-only?

---

<div class="post-metadata">

### Author: ![acbdev](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@acbdev](https://forum.finsweet.com/u/acbdev)
#### Post date: [July 26, 2024, 8:54pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/3 "2024-07-26T20:54:43Z")

</div>

Here you go! [Webflow - Events](https://preview.webflow.com/preview/events-elevate?utm_medium=preview_link&utm_source=designer&utm_content=events-elevate&preview=303b3340e94b23925475950f75ed2cfa&workflow=preview)

---

<div class="post-metadata">

### Author: ![acbdev](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@acbdev](https://forum.finsweet.com/u/acbdev)
#### Post date: [July 30, 2024, 8:20pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/4 "2024-07-30T20:20:23Z")

</div>

Hey @Support-Luis! It would be great if we could get an update on this 🙂

---

<div class="post-metadata">

### Author: ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)
#### Post date: [July 31, 2024, 11:32am UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/5 "2024-07-31T11:32:15Z")

</div>

Hello @acbdev! Sorry for the delay!

Now that I think of it, we might not need to add the fs-cmsfilter-type=“date” to the checkboxes or the item filter field.

I say this as we are using checkboxes whose labels are in the same format as the filter field and not a date picker or another input.

You can give it a go by simply moving the `fs-cmsfilter-field="date"` attribute from the `c-checkbox__container` to the `label`.

---

<div class="post-metadata">

### Author: ![acbdev](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@acbdev](https://forum.finsweet.com/u/acbdev)
#### Post date: [August 2, 2024, 4:12pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/6 "2024-08-02T16:12:20Z")

</div>

Hi @Support-Luis!

Thank you for this.

Unfortunately, we’re still experiencing the error issue in Safari.

Is there anything else we could try?

---

<div class="post-metadata">

### Author: ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)
#### Post date: [August 5, 2024, 10:12am UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/7 "2024-08-05T10:12:50Z")

</div>

Hey @acbdev! I see you’ve added the `fs-cmsfilter-type="date"` attribute to the checkbox container and the checkbox label, can we remove it from the parent and leave it on the label?

You can also test what I mentioned earlier and remove the `fs-cmsfilter-type="date"` attribute altogether as we are not using a date picker or date field for this filter element.

Checkbox label matches the text exactly on your item cards so the search should return a match.

---

<div class="post-metadata">

### Author: ![acbdev](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@acbdev](https://forum.finsweet.com/u/acbdev)
#### Post date: [August 5, 2024, 3:44pm UTC](https://forum.finsweet.com/t/cms-filter-date-issue/3170/8 "2024-08-05T15:44:34Z")

</div>

Thank you, @Support-Luis! All fixed now 🙂
