Fix rendering of Add Value attributes when the attribute is also rendered by a template, resulting in double javascript and blank values

This commit is contained in:
2025-07-03 13:02:02 +08:00
parent 06747064d4
commit 46277146c5
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<!-- $o=Attribute::class -->
<x-attribute.layout :edit="$edit=($edit ?? FALSE)" :new="$new=($new ?? FALSE)" :o="$o">
<x-attribute.layout :edit="$edit=($edit ?? FALSE)" :new="$new=($new ?? FALSE)" :o="$o" :template="$template">
<div class="col-12">
<div class="tab-content">
@foreach($o->langtags as $langtag)