Replies: 2 comments 5 replies
-
what do you exactly mean by none register the value I want? is the value returned by the time picker a different format? Is the value returned by the time picker not being recognized by vuejs? What is your exact issue. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I just reread your question like 5 times, if you need to preset the value of the field. Your string is invalid as a datetime, time needs to be prepended with a T, so your string would become '2021-11-12T11:00' |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm getting a little bit of frustation trying to change a value of a input text with vuejs with v-time-picker.
Vuejs never register new value:
I have this field that dispatch date and time picker.
I executed a lot os snippets but none works, none register value I want...
var $input = $('#air_boardingDate').val('2021-11-12 11:00'); var e = document.createEvent('HTMLEvents'); e.initEvent('change', true, true); $input[0].dispatchEvent(e);
I need this kind of hack because I need to fill up 50 times a form for 50 passengers I am responsible of their travel and I want to automate the submission.
Thank you and sorry if this is not the place for writting this kind of things
EDIT: Form I want to automate is https://app.euplf.eu/#/form
Beta Was this translation helpful? Give feedback.
All reactions