fomantic / Fomantic-UI

Fomantic-UI is the official community fork of Semantic-UI
https://fomantic-ui.com
MIT License
3.57k stars 331 forks source link

[form] validation of grouped field shows multiple error messages #2923

Open hugopeek opened 1 year ago

hugopeek commented 1 year ago

Bug Report

I noticed that after the 2.9.3 update, grouped fields show a repeating validation error for each field inside the group. This used to be 1 message before.

I tried using the new errorLimit: 1 setting, but that doesn't seem to work in this case.

Testcase

https://jsfiddle.net/md9sexog/1/

Screenshot (if possible)

image

Version

2.9.3

BrianJavier99 commented 4 months ago

Hello, I hope you don't mind, but I have tried my hand at fixing this issue. Please let me know if it is an acceptable approach.

https://github.com/fomantic/Fomantic-UI/pull/3067

lubber-de commented 4 months ago

Hello, I hope you don't mind, but I have tried my hand at fixing this issue. Please let me know if it is an acceptable approach.

3067

Thanks, please see my PR comments