Fix for 0674706 existing attributes where editable without the edit button being pressed. Only new attributes should be editable by default
This commit is contained in:
parent
ff1f33385b
commit
f5fe35c740
@ -22,7 +22,7 @@
|
|||||||
name="{{ $o->name_lc }}[{{ $langtag }}][]"
|
name="{{ $o->name_lc }}[{{ $langtag }}][]"
|
||||||
value="{{ $value ?: ($av ?? '') }}"
|
value="{{ $value ?: ($av ?? '') }}"
|
||||||
placeholder="{{ ! is_null($x=$tv->get($loop->index)) ? $x : '['.__('NEW').']' }}"
|
placeholder="{{ ! is_null($x=$tv->get($loop->index)) ? $x : '['.__('NEW').']' }}"
|
||||||
@readonly(! $edit)
|
@readonly(! $new)
|
||||||
@disabled($o->isDynamic())>
|
@disabled($o->isDynamic())>
|
||||||
|
|
||||||
<div class="invalid-feedback pb-2">
|
<div class="invalid-feedback pb-2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user