Get error if one crud page has two datetime_picker #907
Unanswered
amigolj
asked this question in
Q&A (Help)
Replies: 1 comment 2 replies
-
Hey @amigolj I just tried adding two $this->crud->addFields([
'name' => 'datetime',
'type' => 'datetime_picker',
// optional:
'datetime_picker_options' => [
'format' => 'DD/MM/YYYY HH:mm',
'language' => 'en',
],
'wrapperAttributes' => ['class' => 'form-group col-md-6'],
],
[
'name' => 'datetime_picker',
'type' => 'datetime_picker',
// optional:
'datetime_picker_options' => [
'format' => 'DD/MM/YYYY HH:mm',
'language' => 'en',
],
'wrapperAttributes' => ['class' => 'form-group col-md-6'],
]); You may
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, when I add second datetime_picker field to the page with crud, both field don't work and I get error in the browser console but when I deleted second field with datetime_picker, it's works correctly



UPDATE
I'm not using the standard display format
Beta Was this translation helpful? Give feedback.
All reactions