HTML Tags showing on Datagrids
-
Hello,
I have created a Datagrid while adding and editing I am using TinyMCE Editor. While Listing data into the Datagrid it is showing HTML Tags.
How can we hide that?
Datagrid code is
$this->addColumn([ 'index' => 'address', 'label' => trans('contact::app.contact_address_layout.address'), 'type' => 'string', 'searchable' => true, 'sortable' => true, 'filterable' => true, ]);
Output is:
Please Help. Thank you in Advance.....
-
These are encoded due to security reasons. If you want you can edit this file
packages/Webkul/Ui/src/Resources/views/datagrid/body.blade.php
.Just replace your braces i.e.
{{ }}
to{!! !!}
.But we don't recommend you to do this.
-
@devansh-webkul Thank You so much....