First version of line edit.

This commit is contained in:
James Cole
2024-03-16 22:00:25 +01:00
parent 845eaed8d7
commit f0fa21dead
10 changed files with 401 additions and 5 deletions

View File

@@ -99,6 +99,7 @@
<a :href="'./accounts/show/' + account.id">
<span x-text="account.name"></span>
</a>
<em :data-index="account.id + 'name'" @click="triggerEdit" data-type="text" data-model="Account" :data-id="account.id" data-field="name" :data-value="account.name" class="hidden-edit-button inline-edit-button fa-solid fa-pencil" data-id="1"></em>
</td>
<td>
<span x-text="account.type"></span>
@@ -147,6 +148,8 @@
</div>
</div>
@endsection
@section('scripts')
@vite(['resources/assets/v2/pages/accounts/index.js'])