-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the field inherit from native Image and not only File field #47
Comments
Would it also accept default value? |
There is no native method in Nova for setting a default value for a field. This is the case for all field types, including File and Image. Have a look here: laravel/nova-issues#58 (comment) Have a good one! |
Allo Clément :)
Merci du retour super rapide!
Oui justement j'avais vu mais check ça aussi sur la doc...
https://nova.laravel.com/docs/3.0/resources/fields.html#default-values
C'est sur la V3 par contre...
…On Tue, Jun 9, 2020 at 11:14 AM Clément Tessier ***@***.***> wrote:
Would it also accept default value?
Hi @guillaumeduval64 <https://github.com/guillaumeduval64>,
There is no native method in Nova for setting a default value for a field.
This is the case for all field types, including File and Image.
Have a look here: laravel/nova-issues#58 (comment)
<laravel/nova-issues#58 (comment)>
This should help you.
Have a good one!
Clément
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARM2HVDRHDIHDCTXUH2LTDRVZGUVANCNFSM4NXJ7DYQ>
.
|
Ah, merci pour le tuyau, je découvre pour être honnête... Comment verrais-tu cette fonctionnalité fonctionner ? Bonne soirée |
Hello @guillaumeduval64, Après plusieurs test, je te confirme que cette fonctionnalité ne peut pas fonctionner avant le champ Pour information, j'ai publié samedi une nouvelle version (v1.2.0) qui améliore grandement l'héritage avec les champs natifs N'hésites pas à y jeter un œil et me faire des retours si tu utilises toujours le package ;) Bonne journée, |
The Nova Advanced Image field inherit from the native File field.
Inheriting from the Image field would bring the following features:
The text was updated successfully, but these errors were encountered: