added custom attributes for required
This commit is contained in:
@ -20,6 +20,6 @@
|
||||
{{ $attributes->except(['placeholder', 'disabled', 'required', 'readonly', 'v-error', 'v-error-message', 'option', 'optionKey', 'optionValue']) }}
|
||||
/>
|
||||
|
||||
<label class="form-control-label ml-2" for="{{ ! empty($attributes[':id']) ? $attributes[':id'] : $id }}">
|
||||
<label class="ml-2" for="{{ ! empty($attributes[':id']) ? $attributes[':id'] : $id }}">
|
||||
{{ !empty($option) ? $option->$optionValue : $label }}
|
||||
</label>
|
||||
|
Reference in New Issue
Block a user