question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`setValue` after recent upgrade

See original GitHub issue

At CodeceptJS we started receiving reports on this failure, then our CI started to fail as well,

The issue happens for this line

return elem.setValue(value.toString());

and with error message fn(...).apply is not a function

Selection_663

https://circleci.com/gh/Codeception/CodeceptJS/1598?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
christian-bromanncommented, Dec 6, 2019

This got fixed in #4858

0reactions
miraocommented, Dec 13, 2019

@mgrybyk Thanks, installation of latest @wdio/sync (5.16.14) fixed it. Before that I hadn’t installed the package in CodeceptJS project at all.

Well, finally solved by upgrade to webdriverio@5.16.15. And now I don’t need @wdio/sync anymore so I removed it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

useForm - setValue - React Hook Form
This function allows you to dynamically set the value of a registered field and have the options to validate and update the form...
Read more >
Angular set value not working after upgrade - Stack Overflow
after upgrading to the latest version of angular(11) and typescript 4, the setting of a nested value of a form stopped working, anyone...
Read more >
form is not re-rendered when using setValue to update a field ...
We have custom components wrapping html form elements and when I setValue() them, they show the new value, but don't re-render. Since we...
Read more >
Updating Angular Forms with patchValue or setValue
So to update these model values we can reference our FormGroup instance, this.form and use patchValue() with some data: this.form.patchValue ...
Read more >
Fields changed by g_form.setValue reverting after save
However, when I go to save the record using the OOB save or update UI Actions, both fields revert to their original value....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found