|
@@ -36,7 +36,7 @@ class Date extends Text
|
|
|
$this->options['locale'] = config('app.locale');
|
|
|
$this->options['allowInputToggle'] = true;
|
|
|
|
|
|
- $this->script = "$('{$this->getElementClassSelector()}').parent().datetimepicker(".json_encode($this->options).');';
|
|
|
+ $this->script = "$('{$this->getElementClassSelector()}').datetimepicker(".json_encode($this->options).');';
|
|
|
|
|
|
$this->prepend('<i class="fa fa-calendar fa-fw"></i>')
|
|
|
->defaultAttribute('style', 'width: 200px');
|