From ae95ee49f159e8a0a4a12baf28b39ab5e2cd5085 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 10 Nov 2022 17:56:50 +0000 Subject: [PATCH] Hide the option if the field is encrypted Signed-off-by: snipe --- resources/views/custom_fields/fields/edit.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php index 0934a2daa..b9b9715a2 100644 --- a/resources/views/custom_fields/fields/edit.blade.php +++ b/resources/views/custom_fields/fields/edit.blade.php @@ -217,11 +217,13 @@ $('#field_encrypted').on('ifChecked', function(event){ $("#encrypt_warning").show(); $("#show_in_email").hide(); + $("#display_in_user_view").hide(); }); $('#field_encrypted').on('ifUnchecked', function(event){ $("#encrypt_warning").hide(); $("#show_in_email").show(); + $("#display_in_user_view").show(); });