I found that it is not possible to change required text for a Likert webform element.
Attaching a patch that fixes this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stockticker created an issue. See original summary.

Stockticker’s picture

jrockowitz’s picture

I am not sure why the tests are not passing but we should add test coverage via

/webform/tests/modules/webform_test/config/install/webform.webform.test_element_likert.yml
/webform/tests/src/Functional/Element/WebformElementLikertTest.php

jrockowitz’s picture

The attached patch has test coverage.

  • jrockowitz authored 2609fc9 on 8.x-5.x
    Issue #3191266 by Stockticker, jrockowitz: Likert required message is...
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored 2609fc9 on 6.x
    Issue #3191266 by Stockticker, jrockowitz: Likert required message is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.