Skip to content

Commit

Permalink
fix(material/form-builder): size and default value props are not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
trik committed Jan 16, 2020
1 parent 98d4ef3 commit f522cf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material/form-builder/form-builder-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,8 @@ export class AjfFormBuilderService {
field.nextSlideCondition = properties.nextSlideCondition != null ?
createCondition({condition: properties.nextSlideCondition}) :
undefined;
field.size = properties.size;
field.defaultValue = properties.defaultValue;

if (isFieldWithChoices(field)) {
const fwc = <AjfFieldWithChoices<any>>field;
Expand Down

0 comments on commit f522cf3

Please sign in to comment.