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 43d77f0 commit 8e359c5Copy full SHA for 8e359c5
src/Widget/Dot.php
@@ -51,7 +51,7 @@ public static function panel($name, array $select, array $selected, int $limit =
51
$selected = json_encode($selected, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
52
$select = json_encode($select, JSON_FORCE_OBJECT | JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
53
$setting = array_merge(['mode'=>false,'placeholder'=>'请选择','width' => '100%','height'=>'200px','menu_height'=>'150px'], $setting);
54
- $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']}";
55
56
$menu = json_encode(['mode'=>$setting['mode'],'placeholder'=>$setting['placeholder'],'height'=>$setting['menu_height']]);
57
return <<<EOF
0 commit comments