mirror of
https://github.com/grocy/grocy.git
synced 2025-08-14 01:37:22 +00:00
Tried to fix inventory form validation again (closes #167)
This commit is contained in:
@@ -252,4 +252,8 @@ $("#datetimepicker-shortcut").on("click", function()
|
||||
Grocy.Components.DateTimePicker.GetInputElement().removeAttr("readonly");
|
||||
Grocy.Components.DateTimePicker.GetInputElement().focus();
|
||||
}
|
||||
|
||||
Grocy.Components.DateTimePicker.GetInputElement().trigger('input');
|
||||
Grocy.Components.DateTimePicker.GetInputElement().trigger('change');
|
||||
Grocy.Components.DateTimePicker.GetInputElement().trigger('keypress');
|
||||
});
|
||||
|
Reference in New Issue
Block a user