Skip to content

Commit

Permalink
Merge 2a74e24 into 0a1de7d
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Jan 8, 2020
2 parents 0a1de7d + 2a74e24 commit 2a112a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dialog-user/services/dialogData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ export default class DialogDataService {
}

if (data.type === 'DialogFieldTagControl') {
defaultValue = 0;
if (data.options.force_single_value) {
defaultValue = '';
} else {
defaultValue = [];
}
}

return defaultValue;
Expand Down

0 comments on commit 2a112a4

Please sign in to comment.