Skip to content

Commit

Permalink
Merge pull request #14 from lpheller/patch-2
Browse files Browse the repository at this point in the history
Fix translatable input always translated
  • Loading branch information
jannescb committed Oct 5, 2021
2 parents 8d03e05 + aed12c1 commit f7940fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/CrudNavMacro.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function register()
CrudShow::macro('nav', function ($name, Closure $closure = null) {
return $this->list($name)->previewTitle('{title}')->form(function ($form) use ($closure) {
// Title field.
$form->input('title')->title('Link Text')->translatable()->width(8);
$form->input('title')->title('Link Text')->translatable(lit()->isAppTranslatable())->width(8);

// External.
$form->boolean('external')->title('External Link');
Expand Down

0 comments on commit f7940fa

Please sign in to comment.