From 06747064d43db6881aaa3487cf6db47ecd7d9808 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 3 Jul 2025 11:22:30 +0800 Subject: [PATCH] Fix add new attributes where being marked as readonly --- 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 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())>