removes encrypted fields as a selectable option for labels

This commit is contained in:
Godfrey M 2024-03-26 08:57:18 -07:00
parent df49e8350f
commit 040f826c52

View file

@ -348,7 +348,9 @@
</optgroup> </optgroup>
<optgroup label="Custom Fields"> <optgroup label="Custom Fields">
@foreach($customFields as $customField) @foreach($customFields as $customField)
@if($customField->field_encrypted != 1)
<option value="{{ $customField->db_column }}">{{ $customField->name }}</option> <option value="{{ $customField->db_column }}">{{ $customField->name }}</option>
@endif
@endforeach @endforeach
</optgroup> </optgroup>
</select> </select>