From e3696ff84ce60e5803c5066ae122ea616cbc2e73 Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Tue, 10 May 2022 18:39:03 -0700 Subject: [PATCH] Make sure to decrypt Textareas as well as input type=text --- resources/views/models/custom_fields_form.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/models/custom_fields_form.blade.php b/resources/views/models/custom_fields_form.blade.php index 2ee656d357..ca4f74b1b2 100644 --- a/resources/views/models/custom_fields_form.blade.php +++ b/resources/views/models/custom_fields_form.blade.php @@ -12,8 +12,7 @@ Request::old($field->db_column_name(),(isset($item) ? Helper::gracefulDecrypt($field, htmlspecialchars($item->{$field->db_column_name()}, ENT_QUOTES)) : $field->defaultValue($model->id))), ['class'=>'format select2 form-control']) }} @elseif ($field->element=='textarea') - - + @elseif ($field->element=='checkbox')