Closed (fixed)
Project:
Date range picker
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2020 at 15:24 UTC
Updated:
13 Feb 2023 at 08:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Kojo Unsui commentedSince there is a fieldset with form-wrapper class for each set of values, I used it as top selector, it returns an object with all the fieldsets. Then it was not necessary to change the logic below.
var $dateRangeWidgets = $(context).find('.field--type-daterange .form-wrapper');I also added an undefined test line 13 to remove an error, and removed a bunch of console.log (hope you won't mind that one).
I tested for limited values (a single value, three values). And for unlimited values.
I tested with following admin themes : Claro, Seven, and Adminimal.
So far, looks good.
Comment #3
Kojo Unsui commentedComment #4
webmestre commentedHi,
thank you for helping.
When apply the patch, I got the following message:
Comment #5
k4v commentedI just pushed a fixed for this, thanks for your help :).
Comment #6
k4v commented