Skip to content

Commit 157894e

Browse files
committed
fix: Surpress required-errors on next step
1 parent 990ffa0 commit 157894e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Validator/RequiredValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public function validate(mixed $value, ?ComponentInterface $component = null): b
2222
return true;
2323
}
2424

25-
if (true === $this->request->getParam('address_reset')) {
26-
return true;
25+
if (true === $this->request->getParam('skip_validation')) {
26+
return true; // @todo: Set this flag in an internal place only
2727
}
2828

2929
if ($this->isEmpty->execute($component, $value)) {

0 commit comments

Comments
 (0)