Skip to content

Commit cf1dc28

Browse files
author
edencoder
committed
fix map input
1 parent f8500ec commit cf1dc28

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

bundles/form/views/field/address/input.riot

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
110110
// set custom
111111
this.value.custom = !this.value.custom;
112-
this.update();
112+
this.onChange();
113113
}
114114
115115
/**
@@ -127,7 +127,6 @@
127127
this.$('[ref="formatted"]').value = this.value.formatted;
128128
129129
// update
130-
this.update();
131130
this.onChange();
132131
}
133132
@@ -141,7 +140,7 @@
141140
142141
// set custom
143142
this.value.map = !this.value.map;
144-
this.update();
143+
this.onChange();
145144
}
146145
147146
/**
@@ -198,7 +197,7 @@
198197
};
199198
200199
// update view
201-
this.update();
200+
this.onChange();
202201
});
203202
}
204203
}

0 commit comments

Comments
 (0)