Upgraded from Twill 2.13 to 3.2, raw HTML links visible in browser

Hi, I upgraded from Twill 2.13 to 3.2. I am now seeing raw HTML edit links in my "Projecttags" browser field on my "Project" module's form. I am not using the new form builder, I registered the fields the old way in /resources/views/twill/projects/form.blade.php:
@section('contentFields')

@formField('browser', [
'label' => 'Project tags',
'max' => 10,
'name' => 'projecttags',
'moduleName' => 'projecttags'
])

[etc]
@section('contentFields')

@formField('browser', [
'label' => 'Project tags',
'max' => 10,
'name' => 'projecttags',
'moduleName' => 'projecttags'
])

[etc]
What can I do about this? Hope someone can help, happy to provide more info if it helps. Thanks!
No description
4 Replies
ifox
ifox10mo ago
Hi @sebastianlenton in your project tags controller are you setting up browserColumns or overriding one of the browser methods?
sebastianlenton
sebastianlentonOP10mo ago
@ifox Yes, I had the following (below) in ProjecttagController.php, just deleted it and it solved the problem! Thanks very much!
protected $browserColumns = [
'title' => [
'title' => 'Title',
'field' => 'title',
]
];
protected $browserColumns = [
'title' => [
'title' => 'Title',
'field' => 'title',
]
];
ifox
ifox10mo ago
Interesting, thanks for sharing that. It's not an expected behavior. I'll check and may add a note to the upgrade guide.
sebastianlenton
sebastianlentonOP10mo ago
Thank you!
Want results from more Discord servers?
Add your server