I am currently working at October CMS plugin development, I have a problem with file upload. I put the fileupload
type to file_src
. When I go to to resource it shows an error like this :
model/resource
fields:
name:
label: Name
type: text
required: true
file_src:
label: Upload
type: fileupload
grade_id:
label: Grade
type: dropdown
emptyOption: Select
showSearch: true
subject_id:
label: Subject
type: dropdown
emptyOption: Select
showSearch: true
type_id:
label: Type
type: dropdown
emptyOption: Select
showSearch: true
How can I fix this error?