From 685114f6a3256d8d53cfd423becb74b358f27da8 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 7 Jul 2025 09:42:20 +0800 Subject: [PATCH] Fix for 0674706 existing attributes where editable without the edit button being pressed. Only new attributes should be editable by default --- resources/views/components/attribute.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/attribute.blade.php b/resources/views/components/attribute.blade.php index 4a501ed2..03b9d2a5 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(! $edit) + @readonly(! $new) @disabled($o->isDynamic())>