Skip to content

Commit a939f5c

Browse files
authored
Fix localized seo fields for Eloquent driver users (#383)
1 parent f002de1 commit a939f5c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Blueprint.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@ public function addSeoFields()
6161

6262
static::$addingField = true;
6363

64-
$this->blueprint->ensureFieldInTab('seo', ['type' => 'seo_pro', 'listable' => false, 'display' => 'SEO'], 'SEO');
64+
$this->blueprint->ensureFieldInTab('seo', [
65+
'type' => 'seo_pro',
66+
'listable' => false,
67+
'display' => 'SEO',
68+
'localizable' => true,
69+
], 'SEO');
6570

6671
static::$addingField = false;
6772
}

0 commit comments

Comments
 (0)