We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4750f3 + c8c5a0f commit ebf469eCopy full SHA for ebf469e
sdk/Eversign/RadioField.php
@@ -28,6 +28,7 @@
28
29
use Eversign\CheckboxField;
30
use JMS\Serializer\Annotation\Type;
31
+use Eversign\Requireable;
32
33
/**
34
* Radio Button fields come with a fixed pixel width and height of 14x14.
@@ -37,6 +38,8 @@
37
38
*/
39
class RadioField extends CheckboxField {
40
41
+ use Requireable;
42
+
43
44
* This parameter is used to identify radio button groups.
45
* RadioFields belonging to the same group must carry the same group parameter.
@@ -48,6 +51,7 @@ class RadioField extends CheckboxField {
48
51
public function __construct() {
49
52
parent::__construct();
50
53
$this->setGroup(0);
54
+ $this->setRequired(false);
55
}
56
57
public function getGroup() {
0 commit comments