We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
formio.js/src/components/select/Select.js
Line 1522 in 832f6ca
We have a case that this function takes the next parameters: this.triggerUpdate(_.get(undefined || 'Cardiff', 'search', 'Cardiff'), true);
this.triggerUpdate(_.get(undefined || 'Cardiff', 'search', 'Cardiff'), true);
In this case we get an empty function like function search() { [native code] } and this causes to throw an error.
function search() { [native code] }
Maybe need to check this case like:
var defaultValue = value; value = !value.data && typeof value === 'string' && typeof searchProperty === 'string' && !!searchProperty.length ? {[searchProperty]: value} : value; this.triggerUpdate(_.get(value.data || value, searchProperty, defaultValue), true);
Or maybe have another solution?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
formio.js/src/components/select/Select.js
Line 1522 in 832f6ca
We have a case that this function takes the next parameters:
this.triggerUpdate(_.get(undefined || 'Cardiff', 'search', 'Cardiff'), true);
In this case we get an empty function like
function search() { [native code] }
and this causes to throw an error.Maybe need to check this case like:
Or maybe have another solution?
Thanks a lot.
The text was updated successfully, but these errors were encountered: