-
-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Labels
type/featAny feature requests or improvementsAny feature requests or improvements
Milestone
Description
Feature Request
Following #1747 being introduced to automatically ensure forceSelection
is true
when being generated from a select
HTML field, could this potentially be expanded to see if the standard div-based (non-select) dropdown to see whether the hidden input
has a required
attribute?
Both of these could be further expanded by seeing whether the dropdown is within a .field
that has the .required
class as well
My suggestion would then be to use the below priority in determining whether forceSelection
should be true
:
- Does standard div-based dropdown have required attribute? [if true, stop]
- Does select dropdown have required attribute? [if true, stop]
- Is dropdown wrapped in a field with required class?
Metadata
Metadata
Assignees
Labels
type/featAny feature requests or improvementsAny feature requests or improvements