Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandatory Data Picker field value can't be selected after validation error. #439

Open
1 task done
jawood1 opened this issue Dec 16, 2024 · 0 comments
Open
1 task done
Assignees

Comments

@jawood1
Copy link

jawood1 commented Dec 16, 2024

Which Contentment version are you using?

4.7.0

Which Umbraco version are you using? For example: 13.2.1 - don't just write v13

13.5.2

Bug summary

When setting a datapicker field as mandatory and not applying a value to the field after save and publish you are unable to select a value to clear the validation error without reloading the page.

When looking at the console after save and publish the first log appears and then after attempting to click select to choose a value the 'n.model.value.push' errors occur.

image

Please see the attached video example showing the issue:

AwesomeScreenshot-06_01_2025.09_13_43.webm

Steps to reproduce

  1. Create a data picker field in this example with display mode being list
  2. Set the field as mandatory
  3. Attempt to save and publish without inputting a value
  4. Validation error fires
  5. Attempt to apply a value to the field
  6. You are unable to select a value from the list

Expected result / actual result

You should be able to select a value after a validation error has occurred in-order to save and publish.

Do you have Umbraco ModelsBuilder enabled?

  • Yes, it is enabled.

What browsers are you seeing the problem on?

Chrome, Edge, Firefox, Safari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants