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

Property value editor messages are not shown in the client #17764

Open
Migaroez opened this issue Dec 9, 2024 · 2 comments
Open

Property value editor messages are not shown in the client #17764

Migaroez opened this issue Dec 9, 2024 · 2 comments

Comments

@Migaroez
Copy link
Contributor

Migaroez commented Dec 9, 2024

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

14.3.1 and 15.1.0

Bug summary

Custom messages for invalid property generated by property value editors are not shown in the client.

Specifics

image
The correct items is highlighted, but the specific message is not shown even when you hover the marker

Steps to reproduce

Use branch #17761 or #17762

  • Setup a media picker with limited amount of items.
  • Create a document type/document that uses the media picker
  • Try to Save & publish the item with to many or to few items compared to the configuration

Expected result / actual result

Client displays the error message it receives from the validate endpoint.

@AleksandrRogov
Copy link

hi @Migaroez , could this issue be related to validation messages not displaying in property editors inside the block editor if setting them through code? (I am hard coding values just for testing)

image

The code above kind of works, the block editor cannot be closed when trying to save changes and there is an invalid icon on the property editor. But there is no "test message" anywhere.
image

@NguyenThuyLan
Copy link
Contributor

By the way, I want to note that there is an issue that it cannot save the custom validation option when you change for any property editors. It could be a part of the reason
image

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

No branches or pull requests

3 participants