Semantic-ui: [Form Validation] Identifiers matching multiple inputs should only validate on all valid

Created on 21 Jul 2015  路  9Comments  路  Source: Semantic-Org/Semantic-UI

From the JSFiddle posted in #2683, if the first field in the array is valid, the entire form is marked valid regardless of the other fields.

http://jsfiddle.net/92p8fkbb/

Entering the the sequence: [1, a, a] will have the form marked as valid.

Enhancement

Most helpful comment

Is this fixed in latest version of Semantic UI?

All 9 comments

The current form supports 1 identifier 1 set of rules. 1 to many is not supported, but I can see this as an addition.

A simil bug is for multiple dropdown.
For example, if I add an "email" validation on multiple dropdown (with allowAdditions), check is not for each email, but for all email as single string.

Is this fixed in latest version of Semantic UI?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

Bug still exists

袟邪泄斜邪谢 卸邪褍邪锌 斜械褉褋械薪写械褉褕 褖褖褖褋

Individual field error handling for input array formfields is now fixed in https://github.com/fomantic/Fomantic-UI/pull/387
See http://jsfiddle.net/a1cnph4f/1/
Supposed to be part of upcoming Fomantic-UI 2.7,2

It seems the shorthand version could not be used in conjunction with the full version for validation rules. It would be more reasonable to be flexible in these forms.

@snowshine09 Support of mixing short and full field rules has been supported/fixed in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/1810

Was this page helpful?
0 / 5 - 0 ratings

Related issues

batata004 picture batata004  路  3Comments

arj-196 picture arj-196  路  3Comments

mllamazares picture mllamazares  路  3Comments

deneuxa picture deneuxa  路  3Comments

mixerp picture mixerp  路  3Comments