Skip to content

Commit

Permalink
IBX-5561: [Payments] Cannot use Created at/Updated at filter (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Apr 24, 2023
1 parent ed6f3c1 commit af5dea5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bundle/Resources/public/js/scripts/admin.picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
formatDate: (date) => formatShortDateTime(date, null),
};
const updateInputValue = (formInput, timestamp) => {
formInput.value = timestamp ?? '';
if (timestamp !== formInput.value) {
formInput.value = timestamp ?? '';

formInput.dispatchEvent(new Event('input'));
}
};
const initFlatPickr = (field) => {
const formInput = field.querySelector(SELECTOR_FORM_INPUT);
Expand Down

0 comments on commit af5dea5

Please sign in to comment.