Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2017 at 13:02 UTC
Updated:
12 Mar 2017 at 16:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commentedRight now, #multiple only support TRUE (1) = UNLIMITED VALUES or FALSE (0) => ONE VALUE.
At some point I want to extend #multiple to support limits (ie > 1). It would required updates to the webform element UI and a new validation handler.
It is a medium amount of work and is now on the immediate roadmap.
Comment #5
jrockowitz commentedI need to see if this patch breaks anything and then I will write some tests.
Below is a preview of the change.
Comment #7
jrockowitz commentedComment #12
jrockowitz commentedComment #15
jrockowitz commentedComment #18
jrockowitz commentedComment #19
jrockowitz commentedPlease review the attached patch which is finally complete and passing all tests.
Comment #21
jrockowitz commentedI committed the patch. Please download and review the latest dev release.