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.
1 parent 2082291 commit 7287fb8Copy full SHA for 7287fb8
src/Tool/FormPanel.php
@@ -66,7 +66,7 @@ public function select(string $column, string $label, array $select, array $sele
66
$selected = json_encode($selected, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
67
$select = json_encode($select, JSON_FORCE_OBJECT | JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
68
$setting = array_merge(['mode'=>true,'placeholder'=>'请选择','width' => '100%','height'=>'200px','menu_height'=>'150px'], $setting);
69
- $style = $setting['mode'] === true ? "witdh:{$setting['width']};" : "witdh:{$setting['width']};height:{$setting['height']}";
+ $style = $setting['mode'] === true ? "width:{$setting['width']};" : "width:{$setting['width']};height:{$setting['height']}";
70
71
$menu = json_encode(['mode'=>$setting['mode'],'placeholder'=>$setting['placeholder'],'height'=>$setting['menu_height']]);
72
$content = <<<EOF
0 commit comments