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
Would be nice if there was a way to subscribe to all kind of field value changes, Currently, if I;m not mistaken, you have to do:
config.onOpen = function() { let reverseGeocodingAPIField = this.fields.reverseGeocodingAPI.node; let changeReverseGeocodingAPIVisibility = value => { if (value === 'BigDataCloud') { this.fields.bigDataCloudAPIKey.wrapper.style.display = ''; } else { this.fields.bigDataCloudAPIKey.wrapper.style.display = 'none'; } }; changeReverseGeocodingAPIVisibility(reverseGeocodingAPIField.value); reverseGeocodingAPIField.addEventListener( 'change', event => changeReverseGeocodingAPIVisibility(event.target.value) ); }
to check both initial state and then changes. Not too clean if yyou did that for a bunch of fields.
It could be e.g.: config.fieldName.onValueChange/config.fields.fieldName.onValueChange or something similar.
config.fieldName.onValueChange
config.fields.fieldName.onValueChange
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would be nice if there was a way to subscribe to all kind of field value changes, Currently, if I;m not mistaken, you have to do:
to check both initial state and then changes. Not too clean if yyou did that for a bunch of fields.
It could be e.g.:
config.fieldName.onValueChange
/config.fields.fieldName.onValueChange
or something similar.The text was updated successfully, but these errors were encountered: