Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/afform/core/ang/af/afField.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

// check for tokens in the default value
const tokens = this.afForm?.identifyTokens(this.defn.afform_default);
if (tokens && tokens.length) {
if (tokens && tokens.size) {
const calculateValueWatcher = $scope.$watchCollection(() => Object.values(this.afForm.getTokenValues(tokens)), () => {
if ($element[0].querySelector('.ng-touched')) {
// user has touched this input, stop calculating
Expand Down