πŸ‡¨πŸ‡¦Canada @ezeedub

Account created on 28 October 2009, about 15 years ago
  • Senior Developer at Phase2Β  …
#

Recent comments

πŸ‡¨πŸ‡¦Canada ezeedub

This applies to more than just date fields.

πŸ‡¨πŸ‡¦Canada ezeedub

Here's another approach, more to the point, which removes validation for an element that the translation handler should not be on the form.

πŸ‡¨πŸ‡¦Canada ezeedub

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).

πŸ‡¨πŸ‡¦Canada ezeedub

ezeedub β†’ made their first commit to this issue’s fork.

πŸ‡¨πŸ‡¦Canada ezeedub

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.

Production build 0.71.5 2024