Skip to content

Commit fda9140

Browse files
committed
Refactor remark field validation rules in ExportTemplateCmsBri
1 parent ba4ef6c commit fda9140

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Nova/Actions/ExportTemplateCmsBri.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ public function fields(NovaRequest $request)
188188
->default(config('satker.rekening'))
189189
->rules('required'),
190190
Text::make('Remark', 'remark')
191-
->rules('required', 'regex:/^[a-zA-Z0-9_\-\s]+$/', 'max:50')
192-
->default('Honor '.$this->kegiatan),
191+
->rules('required', 'regex:/^[a-zA-Z0-9_\-\s]+$/', 'max:50'),
193192
Text::make('Nama File', 'filename')
194193
->rules('required', 'regex:/^[a-zA-Z0-9_\-\s]+$/')
195194
->help('tanpa extensi file')

0 commit comments

Comments
 (0)