Closed (won't fix)
Project:
Clientside Validation
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2016 at 00:06 UTC
Updated:
18 Sep 2021 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #2
itamair commentedComment #3
nikunjkotechaIt seems this is related to how Drupal works. For list fields default / empty value it uses "_none" as value which actually is valid value as per HTML5 / jQuery validation library.
Will keep checking further to find a proper fix for this.
Comment #4
jelle_sComment #5
nikunjkotechaThanks @Jelle_S for pointing into right direction. Closing this one as it needs to be fixed in core.
Comment #6
khaldoon_masud commentedI applied a hack using the form_alter hook: