-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add or Edit Required Fields Mandatory * is not showing #5808
Comments
what are u doing for this issue? |
Just use the required options in the bread, unless that's the actual bug here? I wouldn't consider this a bug. There's no need to assume they are required fields. Probably, sure, but not required. Make a /resources/vendor/voyager/[model]/ folder , so /resources/vendor/voyager/users/ ^ make your changes to that blade, maybe make a list of "required" options in your User model like fillable. Or dive into where the validations are stored. Then if you need more can extend the VoyagerBaseController, or make your own, and point your bread at that controller instead of the default. |
Hi @Emerica |
@blpraveen Just wakin' up, so the brainpan might not be top notch, but you could try sym-linking? |
Revisiting this hacky solution, you could also copy the VoyagerBaseController into your project and then change how it operates, point at a single blade instead of it being dynamic.
|
Laravel version
8
PHP version
7.4
Voyager version
1.4.3
Database
Mysql 8
Description
In admin Model required form fields should have astrick (*) Mark. Currently User as know information of which fields are mandatory
Steps to reproduce
In User Create fields dont have astrick (*)
Expected behavior
Should have astrick before Field Label
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: