{{ Form::open(['route' => ['mobileservice.tracking-status.update', ['trackingStatusId' => $trackingStatusData['id']]], 'method' => 'post', 'class' => 'needs-validation', 'novalidate']) }}
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">
            <x-icon-picker name="icon" :value="$trackingStatusData['icon_name']" label="{{ __('Icon') }}" required="true" />
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                {{ Form::label('status_name', __('Tracking Status'), ['class' => 'form-label']) }} <x-required></x-required>
                {{ Form::text('status_name', $trackingStatusData['status_name'], ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter tracking status')]) }}
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                {{ Form::label('status_color', __('Status Color'), ['class' => 'form-label']) }} <x-required></x-required>
                <input class="jscolor form-control" value="{{ $trackingStatusData['status_color'] }}" name="status_color" id="color" required>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn  btn-light" data-bs-dismiss="modal">{{ __('Cancel') }}</button>
    <button type="submit" class="btn btn-primary">{{ __('Update') }}</button>
</div>
{{ Form::close() }}

