Skip to content

Commit aab6df6

Browse files
author
hikki
committed
8.1
1 parent 66875cd commit aab6df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Assembly/Unit/Datetime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __toString()
4444
$pickerSettings = json_encode(array_merge(['format' => 'YYYY-MM-DD HH:mm:ss', 'locale' => 'zh-CN'], $this->pickerSettings));
4545
$this->annotate();
4646
$content = <<<EOF
47-
<input type="{$this->type}" name="{$this->column}" value="{$this->value}" class="dlp-input" placeholder="输入 {$this->label}" {$this->annotation}/>
47+
<div style="position: relative"><input type="{$this->type}" name="{$this->column}" value="{$this->value}" class="dlp-input" placeholder="输入 {$this->label}" {$this->annotation}/></div>
4848
<script>$('input[name="{$this->column}"]').datetimepicker({$pickerSettings});</script>
4949
EOF;
5050
if(!$this->label) return $content;

0 commit comments

Comments
 (0)