Item.id"></h3>
                <div class="card card-body">
                    <div class="grid grid-cols-6 gap-6">
                        <template x-for="item in modalFields" :key="item.field">
                            <div x-show="!item.modal.hide" :class="'col-span-' + item.modal.span">
                                <label class="block text-sm font-medium mb-2" x-text="item.headerName"></label>
                                <input
                                        x-model="selectedItem[it