added multiple images feature for asset mgmt
This commit is contained in:
@@ -113,6 +113,9 @@ Vue.component('tt-date-picker', {
|
||||
const input = this.$refs.input;
|
||||
|
||||
if (datepicker && !datepicker.contains(event.target) && event.target !== input) {
|
||||
if (input.parentElement.tagName.toLowerCase() === 'div' && input.parentElement.classList.contains('form-group')) {
|
||||
return;
|
||||
}
|
||||
$(this.$refs.input).data('daterangepicker').hide();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user