Fixed accessibility label for date range input and min/max causing the date range to be selected on show
This commit is contained in:
@@ -10,7 +10,7 @@ $.extend(dateRangeInputBinding, {
|
||||
},
|
||||
_setMin: function(el, date) {
|
||||
var $el = $(el);
|
||||
var $mainInput = $el.find('.input-daterange').eq(0);
|
||||
var $mainInput = $el.closest('.input-daterange').eq(0);
|
||||
|
||||
var autonext = false;
|
||||
if ($mainInput.data('autonext') == true) {
|
||||
@@ -42,7 +42,7 @@ $.extend(dateRangeInputBinding, {
|
||||
},
|
||||
_setMax: function(el, date) {
|
||||
var $el = $(el);
|
||||
var $mainInput = $el.find('.input-daterange').eq(0);
|
||||
var $mainInput = $el.closest('.input-daterange').eq(0);
|
||||
|
||||
var autonext = false;
|
||||
if ($mainInput.data('autonext') == true) {
|
||||
|
||||
Reference in New Issue
Block a user