Skip to content

Commit

Permalink
Fix validation for fields
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrsKondratjevs committed Oct 28, 2022
1 parent e47c570 commit 8cd1b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scandipwa/src/component/Field/Field.container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class FieldContainer extends PureComponent<FieldContainerProps, FieldCont
? !!(this.fieldRef as HTMLInputElement)?.checked
: this.fieldRef?.value;

if (!value) {
if (!value && value !== '') {
return false;
}

Expand Down

0 comments on commit 8cd1b9b

Please sign in to comment.