You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling $set() on the CodeField, has no effect, it will set the value (so it will be saved to the DB), but the codemirror editor will not pickup on the change.
The expected result is for the codemirror editor to now contain "brrrrrrrr", however it is blank "or has whatever value you wrote in before clicking the hintAction button)
The text was updated successfully, but these errors were encountered:
We currently have a way to set the field as display mode using ->displayMode().
Do you need to $set() and write code at the same time? Haven't figured out a way to make the field work bidirectional without producing an infinite loop.
Calling
$set()
on the CodeField, has no effect, it will set the value (so it will be saved to the DB), but the codemirror editor will not pickup on the change.Unsure how to resolve.
Can be reproduced by the following snippet:
The expected result is for the codemirror editor to now contain "brrrrrrrr", however it is blank "or has whatever value you wrote in before clicking the hintAction button)
The text was updated successfully, but these errors were encountered: