dateTime field errors

System Information
  • Strapi Version: 4.7.1
  • Operating System:
  • Database: postgres
  • Node Version:
  • NPM Version:
  • Yarn Version:

Datetime field causes “Maximum update depth exceeded.” when it has initial value.

If you click on date field or time field and change the value this error disappears.

This error cause the page to crash if you spend too much time on chaning value in other fields.

I also tested this field manually on custom page with this component imported from @strapi/design-system and it ended up with the same error (ONLY if I provided initial value)

This error only applies to datetime component (neither date nor time).

I would suggest log this bug on our github issues.
Please give as much information there as possible even if you have a sample to replicate etc that would be great!

1 Like