We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acf83c9 commit a7779fcCopy full SHA for a7779fc
public/css/app.css
@@ -7,7 +7,7 @@ canvas {
7
background: #ffffff;
8
}
9
10
-.checkbox {
+.checkbox, .radio {
11
padding-left: 4px;
12
padding-right: 4px;
13
src/FormGenerator/FormElements/DropdownFormElement.php
@@ -8,14 +8,16 @@
class DropdownFormElement extends AbstractDynamicFormElement
{
/**
- * On multiselect elements discard the size attribute
+ * Process select-specific configuration
*
* @return array
14
+ * @throws \JsonException
15
*/
16
public function getViewVariables(): array
17
18
$conf = parent::getViewVariables();
19
20
+ // on non-multiselect elements discard the size attribute
21
if (empty($conf['multiselect'])) {
22
unset($conf['size']);
23
0 commit comments