diff --git a/resources/views/components/attribute.blade.php b/resources/views/components/attribute.blade.php index 8bd08eaf..9df670e0 100644 --- a/resources/views/components/attribute.blade.php +++ b/resources/views/components/attribute.blade.php @@ -22,7 +22,7 @@ name="{{ $o->name_lc }}[{{ $langtag }}][]" value="{{ $value ?: ($av ?? '') }}" placeholder="{{ ! is_null($x=$tv->get($loop->index)) ? $x : '['.__('NEW').']' }}" - readonly + @readonly(! $edit) @disabled($o->isDynamic())>