Skip to content

Commit b26f937

Browse files
authored
CF - is_searchable (#105)
add is_searchable to request
1 parent 0f5b0a5 commit b26f937

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/App/Http/Requests/CustomFieldCreateRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function rules()
4444
'model' => 'required|string',
4545
'required' => 'boolean',
4646
'hidden' => 'boolean',
47+
'is_searchable' => 'nullable|boolean',
4748
'validation_id' => 'nullable|exists:custom_field_validations,id',
4849
'group' => 'nullable|string',
4950
'order' => 'nullable|integer',

src/App/Http/Requests/CustomFieldUpdateRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function rules()
4747
'placeholder' => 'nullable|string',
4848
'required' => 'boolean',
4949
'hidden' => 'boolean',
50+
'is_searchable' => 'nullable|boolean',
5051
'validation_id' => 'nullable|exists:custom_field_validations,id',
5152
'group' => 'nullable|string',
5253
'order' => 'nullable|integer',

0 commit comments

Comments
 (0)