custom Fields attributes Key-values

Laraship QuestionsCategory: Questionscustom Fields attributes Key-values
jlam asked 5 years ago
can you explain what is the attributes Key and value used for inteh custom fields. i can not find any explaniation how and what this is used for. It might help me out or i might beable to utilize this if i knew what it was for. thanks,
2 Answers
laraship Staff answered 5 years ago

Hello,

Custom Field attributes will be appended to the crontrol field for example if you want to add id, class , readonly , .. attributes

laraship Staff answered 5 years ago

Hello,

You need to override the view and in the function and change the width of the custom field for example

{!! CoralsForm::customFields($role, 'col-md-12') !!}

will add the custom fields with full width.