Use js to set the value direct assignment to the date drop-down box. The value is written into the text box, but the value in the HTML is still empty.

such as the title.
the front-end code is as follows:

clipboard.png
js(robot framework):


HTMLvalue:

clipboard.png


value in html is the default
will only have an effect when the form is reset.

if you do want to change this default value, you need to use .setAttribute ('value','2018-08-03') so

but your problem should be that the html is regenerated, so you need to store this value extra and re-assign it on regeneration


Hello, I also encountered this problem. How did you solve it

?
Menu