Skip to content

Commit

Permalink
Fixed Issue krayin#1836
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Dec 23, 2024
1 parent 1f90616 commit 40a18f5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<v-control-tags
:errors="errors"
{{ $attributes }}
v-bind="$attrs"
></v-control-tags>

@pushOnce('scripts')
Expand All @@ -9,7 +10,10 @@
id="v-control-tags-template"
>
<div class="flex min-h-[38px] w-full items-center rounded border border-gray-200 px-2.5 py-1.5 text-sm font-normal text-gray-800 transition-all hover:border-gray-400 dark:border-gray-800 dark:text-white dark:hover:border-gray-400">
<ul class="flex flex-wrap items-center gap-1">
<ul
class="flex flex-wrap items-center gap-1"
v-bind="$attrs"
>
<li
class="flex items-center gap-1 rounded-md bg-gray-100 dark:bg-gray-950 ltr:pl-2 rtl:pr-2"
v-for="(tag, index) in tags"
Expand All @@ -28,7 +32,7 @@ class="icon-cross-large cursor-pointer p-0.5 text-xl"
></span>
</li>
<li>
<li :class="['w-full', tags.length && 'mt-1.5']">
<v-field
v-slot="{ field, errors }"
:name="'temp-' + name"
Expand All @@ -40,7 +44,7 @@ class="icon-cross-large cursor-pointer p-0.5 text-xl"
type="text"
:name="'temp-' + name"
v-bind="field"
class="dark:!bg-gray-900"
class="w-full dark:!bg-gray-900"
:placeholder="placeholder"
:label="label"
@keydown.enter.prevent="addTag"
Expand Down Expand Up @@ -115,7 +119,7 @@ class="mt-1 text-xs italic text-red-600"
}
this.tags.push(tag);
this.$emit('tags-updated', this.tags);
this.input = '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class="!font-normal"
<div class="relative">
<x-admin::form.control-group.controls.tags
name="reply_to"
class="w-[calc(100%-62px)]"
rules="required"
input-rules="email"
::data="draft.reply_to"
Expand Down Expand Up @@ -247,6 +248,7 @@ class="cursor-pointer font-medium hover:underline dark:text-white"
<x-admin::form.control-group.controls.tags
name="cc"
class="w-[calc(100%-62px)]"
input-rules="email"
::data="draft.cc"
:label="trans('admin::app.mail.index.mail.cc')"
Expand All @@ -266,6 +268,7 @@ class="cursor-pointer font-medium hover:underline dark:text-white"
<x-admin::form.control-group.controls.tags
name="bcc"
class="w-[calc(100%-62px)]"
input-rules="email"
::data="draft.bcc"
:label="trans('admin::app.mail.index.mail.bcc')"
Expand Down
1 change: 0 additions & 1 deletion public/admin/build/assets/app-2ab2a07d.css

This file was deleted.

1 change: 1 addition & 0 deletions public/admin/build/assets/app-9587ab52.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/admin/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"src": "node_modules/vue-cal/dist/i18n/zh-hk.es.js"
},
"src/Resources/assets/css/app.css": {
"file": "assets/app-2ab2a07d.css",
"file": "assets/app-9587ab52.css",
"isEntry": true,
"src": "src/Resources/assets/css/app.css"
},
Expand Down

0 comments on commit 40a18f5

Please sign in to comment.