stars rating field becomes invisible on submiting Empty webform

Created on 6 August 2018, almost 6 years ago
Updated 17 July 2023, 11 months ago

I have used rating field on my webform. On submitting the form with empty values , with the validation messages the star rating field becomes invisible. why such behavior? . On filling all values works good only if i hit the submit without filling the values this behavior is shown. I have to reload the page to get the full form again. Attaching the images explaining my issue.
image 1 - normal form.
image 2 - form submitted with empty values.

🐛 Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

🇮🇳India arpitk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • This issue is still there on latest versions (Drupal 10.1.1 and Webform 6.2.0-beta6 ) - I could replicate it on Simplytest.me (using the webform/example_style_guide/test ).

    Only happens when ajax is enabled. In this case, the stars only show after refreshing the page. It also existed on prior versions (D9+) for me

Production build 0.69.0 2024