You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this error happened after the composer update to version 1.4.2...
the code i had was without config at all and was giving that error.. i tried to set the config manually per type ... but still not working.
IS THERE A WAY TO SET THE CONFIG NOT REQUIRED ???
composer update to v 1.4.2:
code used:
echo ExportMenu::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => $gridColumns,
'filename' => 'Users Report Export '.date('d-M-Y'),
'exportConfig' => [
ExportMenu::FORMAT_HTML => [
'label' => 'HTML',
'icon' => 'floppy-saved',
'iconOptions' => ['class' => 'text-info'],
'linkOptions' => [],
'options' => ['title' => 'Hyper Text Markup Language'],
'alertMsg' => 'The HTML export file will be generated for download.',
'mime' => 'text/html',
'extension' => 'html',
'writer' => ExportMenu::FORMAT_HTML
],
but i am getting the error of writer not set on the config
The text was updated successfully, but these errors were encountered: