Fix AND input validator operator
This commit is contained in:
parent
b38130575c
commit
009ff2d2d6
@ -79,7 +79,7 @@ where
|
|||||||
B: InputValueValidator,
|
B: InputValueValidator,
|
||||||
{
|
{
|
||||||
fn is_valid(&self, value: &Value) -> Option<String> {
|
fn is_valid(&self, value: &Value) -> Option<String> {
|
||||||
self.0.is_valid(value).and(self.1.is_valid(value))
|
self.0.is_valid(value).or(self.1.is_valid(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user