You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -100,7 +100,7 @@ public function testValidatorsBulma(): void
100
100
$this->assertFalse($form->validate());
101
101
$lines = [
102
102
'<div class="field">',
103
-
' <label class="checkbox"><input type="checkbox" name="confirm" value="on"/>I agree to the terms and conditions</label>',
103
+
' <label class="checkbox"><input type="checkbox" name="confirm" value="on" required="required"/>I agree to the terms and conditions</label>',
104
104
' <p class="help is-danger">Field must be checked</p>',
105
105
'</div>',
106
106
];
@@ -112,7 +112,7 @@ public function testValidatorsBulma(): void
112
112
$this->assertTrue($form->validate());
113
113
$lines = [
114
114
'<div class="field">',
115
-
' <label class="checkbox"><input type="checkbox" name="confirm" value="on" checked="checked"/>I agree to the terms and conditions</label>',
115
+
' <label class="checkbox"><input type="checkbox" name="confirm" value="on" checked="checked" required="required"/>I agree to the terms and conditions</label>',
0 commit comments