Skip to content

Commit

Permalink
Merge pull request #657 from Fliplet/release/PS-29
Browse files Browse the repository at this point in the history
  • Loading branch information
simonchapman1986 authored Aug 9, 2024
2 parents 05abdd0 + 17631d9 commit 3d35e5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/components/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ Fliplet.FormBuilder.field('typeahead', {
if (this.typeahead) {
this.typeahead.options(val);
}

this.typeahead.set(this.value);
}
}
});
4 changes: 3 additions & 1 deletion js/libs/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1586,11 +1586,13 @@ Fliplet().then(function() {
field.value = value;
}

debouncedUpdate();

if (hasChanged) {
$form.triggerChange(field.name, field.value);
}

getFields();
debouncedUpdate();
});
},
get: function() {
Expand Down

0 comments on commit 3d35e5b

Please sign in to comment.