mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix typing $ in inline expression field reloading node parameters form (#6374)
* fix(editor): Fix typing `$` in inline expression field reloading node parameters form
* ⚡ Setting resource mapper empty field values to empty strings
This commit is contained in:
committed by
GitHub
parent
f61b776bea
commit
4c0d4ebd99
@@ -456,9 +456,15 @@ export default defineComponent({
|
||||
this.$emit('input', { ...this.value, __regex: mode.extractValue.regex });
|
||||
}
|
||||
},
|
||||
dependentParametersValues() {
|
||||
dependentParametersValues(currentValue, oldValue) {
|
||||
const isUpdated = oldValue !== null && currentValue !== null && oldValue !== currentValue;
|
||||
// Reset value if dependent parameters change
|
||||
if (this.value && isResourceLocatorValue(this.value) && this.value.value !== '') {
|
||||
if (
|
||||
isUpdated &&
|
||||
this.value &&
|
||||
isResourceLocatorValue(this.value) &&
|
||||
this.value.value !== ''
|
||||
) {
|
||||
this.$emit('input', {
|
||||
...this.value,
|
||||
cachedResultName: '',
|
||||
|
||||
Reference in New Issue
Block a user