-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: dom.getFieldValue is not a function #1436
Comments
There's some likely unexpected behavior when using a single custom insert modal field if the value of the field is falsy, and the getFieldValue method is undefined.
|
HI @DarMontou, you mean if you return |
i'm also having an issue with this. dom.getFieldValue() not a function |
same here |
It seems issue is related to redux connect, it works without it |
Using the example provided:
Any suggestions? |
@solace, it work well for me, |
Well, it doesn't seem to according to the other people above. :) |
In any case, I was able to resolve by overriding the insert modal body. Copied the original and made modifications to the ref for custom fields. https://gist.github.com/solace/b5f1fc3f1f632cb79bccc63ed7f49d1d |
A custom field of
type="file"
in anInsertModal
throws an error. How to manage file uploads?A field:
An error thrown by the plugin:
Real screenshot of component's code. 1) The method is never called. 2) It is never called whatsoever. Although the method exists in a component.
Method in a component:
The text was updated successfully, but these errors were encountered: