Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datetimepicker with sideBySide option is not displayed properly #5

Closed
re1naldo opened this issue Jul 17, 2017 · 1 comment
Closed

Comments

@re1naldo
Copy link

Code:

$form->field($model, 'date', [
    'template' => '<div class="row"><div class="col-xs-11 col-md-3">{label}{input}{error}</div></div>'
])->widget(DateTimePicker::classname(), [
    'format' => 'php:m/d/Y h:i A',
    'sideBySide' => true,
    'clientOptions' => [
        'allowInputToggle' => true,            
        'stepping' => 30
    ],
);

Result:

How to display datetimepicker with sideBySide option?

@re1naldo re1naldo changed the title Datetimepicker with sideBySide is not displayed properly Datetimepicker with sideBySide option is not displayed properly Jul 17, 2017
@nkovacs
Copy link
Owner

nkovacs commented Jul 17, 2017

It was a bug in the js plugin. Fixed it, please run composer update and make sure bower-asset/nkovacs-bootstrap-datetimepicker is updated to 5.0.4.

@nkovacs nkovacs closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants