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

Fix: Mandatory for Image Cropper (17372) #18108

Merged
merged 5 commits into from
Jan 28, 2025
Merged

Conversation

nielslyngsoe
Copy link
Member

Fixes #17372

By implementing validation and also making the components work with undefined and returning to undefined when file is removed.

@nielslyngsoe nielslyngsoe changed the title implement validation for mandatory Fix: 17372 Jan 24, 2025
@nielslyngsoe nielslyngsoe changed the title Fix: 17372 Fix: Mandatory for Image Cropper (17372) Jan 24, 2025
@leekelleher leekelleher self-requested a review January 27, 2025 16:39
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out, looking good, but the valueMissing validator is being triggered when mandatory isn't set.

@nielslyngsoe
Copy link
Member Author

HI @leekelleher well spotted, sorry for the mistake, thanks for spotting it. It is corrected now

@leekelleher leekelleher self-requested a review January 28, 2025 08:14
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super Tak!

@nielslyngsoe nielslyngsoe merged commit c4ab3bd into v15/dev Jan 28, 2025
29 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/bugfix/17372 branch January 28, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants