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

Display validation errors of file name field in DAM #2547

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

thomasdax98
Copy link
Member

@thomasdax98 thomasdax98 commented Sep 19, 2024

Description

Problem:

The duplicate name error in the DAM isn't shown.

Reason

I override the onBlur function of the field. However, I never called formApi.blur(). This function sets the field's touched property. Since touched was always false, the error was never shown.

Solution:

I now call blur()

Screenshots/screencasts

Before:

Bildschirmaufnahme.2024-09-19.um.10.38.02.mov

After:

Bildschirmaufnahme.2024-09-19.um.10.36.54.mov

Changeset

  • I have verified if my change requires a changeset

Related tasks and documents

https://vivid-planet.atlassian.net/browse/COM-1076

@thomasdax98 thomasdax98 merged commit fa31e08 into main Sep 19, 2024
11 checks passed
@thomasdax98 thomasdax98 deleted the fix-show-filename-error branch September 19, 2024 08:51
thomasdax98 added a commit that referenced this pull request Sep 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants