Updates widget for element validation

This updates work by @coderdan to who added it initially to update the code away from arrayProertyPath, which was no longer available in Drupal 11.

Merge request reports

Loading