soluzione-software / nova-translatable-field
A Laravel Nova field.
Installs: 1 008
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 10
Requires
- php: >=7.1.0
- ext-json: *
- astrotomic/laravel-translatable: ^11.1
- laravel/framework: 5.8.* | ^6.0 | ^7.0 | ^8.0
- laravel/nova: ~2.0 | ~3.0
- dev-master
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
- 0.0.1
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/npm_and_yarn/minimist-1.2.6
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
This package is auto-updated.
Last update: 2024-11-14 03:45:42 UTC
README
Adds the ability to show and edit translated fields created with astrotomic/laravel-translatable package.
Installation and usage
composer require soluzione-software/nova-translatable-field
<?php namespace App\Nova; use Illuminate\Http\Request; use Laravel\Nova\Fields\Text; use SoluzioneSoftware\Nova\Fields\Translatable; class User extends Resource { // ... /** * Get the fields displayed by the resource. * * @param Request $request * @return array */ public function fields(Request $request) { return [ Translatable::make( Text::make('Name') ), ]; } // ... }
Credits
Thanks to: