Skip to content

Commit

Permalink
Merge pull request #15 from tollwerk/release/2.5.6
Browse files Browse the repository at this point in the history
[Changed] The 'lat-lon' input element now dispatches a 'change' event…
  • Loading branch information
kftw authored Nov 5, 2022
2 parents e4b2c5a + c5a71c3 commit 41d127b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Resources/Private/Partials/Elements/Form/Scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
GeoselectElement.prototype.setLatLon = function (latitude, longitude) {
// Set value of hidden latitude/longitude field
this.latLon.value = (`${latitude},${longitude}`);
this.latLon.dispatchEvent(new Event('change'));
// If we have a Google Map
if (this.map) {
// Add map marker after removing the old one
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Elements/Form.default.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Resources/Public/tw_geo-default.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41d127b

Please sign in to comment.