v14.3 - Radio button list validation not working in a block editor
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
14.3.0
Bug summary
When editing a block using a Block List Editor with the Sidebar view, if you do not set a value for a mandatory radio button field on the block, then try to publish the document, and then set a value on the require radio button field, it is not possible to save the block
Edit: The below steps can also be reproduced with a dropdown editor
Specifics
Looks very similar to https://github.com/umbraco/Umbraco-CMS/issues/13082
Steps to reproduce
- Create an element type "ElementType" with a mandatory radio button list editor
- Create a document type "DocumentType" with a Block List editor, configured to include the element type created above. Allow this document type at root
- Create a document of type "DocumentType"
- Add a block of type "ElementType". Immediately click "Submit" on the element, and then "Save and publish" on the document. You should get a validation message, and the document is not published
- Open the same block editor again. Select an option on the radio button list, and click "Submit"
Expected result / actual result
Expected result:
- The block editor closes, and I can successfully publish the document
Actual result:
- The block editor does not close. The "Submit" button changes to an "x" and then back to "Submit" without anything else happening
Hi there @david-tattan!
Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.
We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
- We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
- If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
- We'll replicate the issue to ensure that the problem is as described.
- We'll decide whether the behavior is an issue or if the behavior is intended.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.
Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:
I can reproduce this, altough an entirely new frontend, seems like we're still missing some validation in this area 😁
Hi @david-tattan,
We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.
For more information about issues and states, have a look at this blog post.
Thanks muchly, from your friendly Umbraco GitHub bot :-)
Updated the description to say that it can also be reproduced with a dropdown editor
Fixed with #18632 for 15.4.