Ask, reply and learn. Join the community of Akaunting.
Hello All
I wana remove required validation from Client form for
Name,
sale price,
Purchse price. Please help.
I'm sorry Ander07 but that is not possible.
Need to remove item sku required validation. How can i do that ? This is a much needed modification
You just need to add an empty array as next parameter. Just like
{{ Form::textGroup('name', trans('general.name'), 'id-card-o', []) }}
I think the same applies to his query also
To remove required validation from Client form, you need to remove it from the attribute part of app/Providers/FormServiceProvider.php,
For text group
Form::component('textGroup', 'partials.form.text_group', [
'name', 'text', 'icon', 'attributes' => [], 'value' => null, 'col' => 'col-md-6',
]);
or you can customize the attributes asper your need.
Showing 1 to 5 of 5 discussions