FileUpload with relation

Hello, I have an Address model which has a relation to my File model: public function file(): HasMany { return $this->hasMany(File::class); } File model: public function address() { return $this->belongsTo(Address::class); } My goal is to allow the user to upload 2 files to an address with different types. When using the Fieldset component im getting the error that the relationp type (hasMany) is not supported by this component. The repeater field works but then i cant set the type per upload which is necessary. Does anybody know a way to achieve what i want?
0 Replies
No replies yetBe the first to reply to this messageJoin