ezeedub β created an issue.
This applies to more than just date fields.
Here's another approach, more to the point, which removes validation for an element that the translation handler should not be on the form.
Here's the first of two possible approaches. This one skips validation when the element's access is explicitly disabled. Before writing test coverage, I would appreciate some guidance on this approach (vs the next one).
ezeedub β made their first commit to this issueβs fork.
Fix linting issue.
Here's an attempt at fixing the tests. The main issue was simply not returning the JSON missing the translatedText item with error messages, etc.. I also added looking for the POST data, the request method and cleaned up some assertions. I'm not a phpunit expert, so there may be more to do. Hopefully, this moves the ball forward.