mirror of
https://github.com/snipe/snipe-it.git
synced 2026-04-05 07:18:18 +00:00
23 lines
438 B
PHP
23 lines
438 B
PHP
@props([
|
|
'input_group_addon' => null,
|
|
'input_icon' => null,
|
|
'required' => false,
|
|
'item' => null,
|
|
])
|
|
<!-- input-text blade component -->
|
|
@if ($input_group_addon)
|
|
<div class="input-group">
|
|
@endif
|
|
<input
|
|
{{ $attributes->merge(['class' => 'form-control']) }}
|
|
@required($required)
|
|
/>
|
|
|
|
@if ($input_group_addon)
|
|
<span class="input-group-addon">
|
|
<x-icon :type="$input_icon" />
|
|
</span>
|
|
</div>
|
|
@endif
|
|
|