TC
Twill CMSsebastianlenton

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
I
ifox60d ago
Hi @sebastianlenton in your project tags controller are you setting up browserColumns or overriding one of the browser methods?
S
sebastianlenton60d 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',
]
];
I
ifox60d ago
Interesting, thanks for sharing that. It's not an expected behavior. I'll check and may add a note to the upgrade guide.
S
sebastianlenton60d ago
Thank you!