I am trying to show the date picker in the mass action field in the custom block grid.
Here is my code:
$this->getMassactionBlock()->addItem(
'update_eta',
[
'label' => __('Update ETA (Don\'t Notify)'),
'url' => $this->getUrl('*/*/massUpdateEta'),
'additional' => [
'eta_value' => [
'name' => 'eta_value',
'type' => 'date',
'class' => 'required-entry control-text',
'label' => __('ETA Value'),
'gmtoffset' => true,
'format' => '%d.%m.%Y'
],
]
]
);
The date picker icon is being shown with the textbox, but the date picker is not being opened.
Can anyone help me to fix this problem?