Skip to content

Commit 21c8804

Browse files
committed
Fix rendering of x-attribute-type missing defaults from edit/new/langtag/update as a result of bab5a26
1 parent 471ccfd commit 21c8804

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

public/css/fixes.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__
245245
padding: 0.25em 0.45em;
246246
}
247247

248+
/* Remove the shadow outline on an opened box */
249+
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
250+
box-shadow: none;
251+
}
252+
248253
.input-group-text {
249254
background-color: #fafafa;
250255
}

resources/views/frames/create.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
@break
5050

5151
@case(2)
52-
<x-attribute-type :edit="true" :o="$o->getObject('rdn')"/>
52+
<x-attribute-type :o="$o->getObject('rdn')" :edit="TRUE" :new="FALSE" :langtag="Entry::TAG_NOTAG" :updated="FALSE"/>
5353

5454
@foreach ($o->getVisibleAttributes() as $ao)
55-
<x-attribute-type :edit="true" :o="$ao"/>
55+
<x-attribute-type :o="$ao" :edit="TRUE" :new="FALSE" :langtag="Entry::TAG_NOTAG" :updated="FALSE"/>
5656
@endforeach
5757

5858
@include('fragment.dn.add_attr')

0 commit comments

Comments
 (0)