Fix adding new attributes, show that blank values will delete the attribute

This commit is contained in:
2024-01-09 23:35:06 +11:00
parent 1f753c4dc6
commit 3b6ee582dd
2 changed files with 3 additions and 2 deletions

View File

@@ -90,7 +90,7 @@
@endif
<td>{{ Arr::get(Arr::get($o->getOriginal(),$key),$xx,'['.strtoupper(__('New Value')).']') }}</td>
<td>{{ $y=Arr::get($value,$xx) }}<input type="hidden" name="{{ $key }}[]" value="{{ $y }}"></td>
<td>{{ ($y=Arr::get($value,$xx)) ?: '['.strtoupper(__('Deleted')).']' }}<input type="hidden" name="{{ $key }}[]" value="{{ $y }}"></td>
@endfor
</tr>
@endforeach