Skip to content

Commit

Permalink
correct the isRequired check #2766
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pollock committed Nov 19, 2018
1 parent 7776bbc commit 0b8e88c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/render/build/index.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -29241,7 +29241,7 @@ var CalderaFormsRender = function (_Component) {
value: function isFieldRequired(fieldIdAttr) {
var field = this.getFieldConfig(fieldIdAttr);

return !!field.required;
return !!field.isRequired;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion clients/render/build/index.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clients/render/components/CalderaFormsRender.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export class CalderaFormsRender extends Component {
isFieldRequired(fieldIdAttr) {
const field = this.getFieldConfig(fieldIdAttr);

return !!field.required;
return !!field.isRequired;
}

/**
Expand Down

0 comments on commit 0b8e88c

Please sign in to comment.