From 383422158939041469214b7aa32429b75767bef8 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Dec 2023 06:30:08 +0000 Subject: [PATCH] Fixed radio button display Signed-off-by: snipe --- .../custom-field-set-default-values-for-model.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/custom-field-set-default-values-for-model.blade.php b/resources/views/livewire/custom-field-set-default-values-for-model.blade.php index d24b39b140..2efbfc03d4 100644 --- a/resources/views/livewire/custom-field-set-default-values-for-model.blade.php +++ b/resources/views/livewire/custom-field-set-default-values-for-model.blade.php @@ -59,15 +59,17 @@ @elseif($field->element == "radio") + @foreach(explode("\r\n", $field->field_values) as $field_value) - defaultValue($model_id) == $field_value ? 'checked="checked"': '' }} />{{ $field_value }}
+