Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Does not work with the new "withFiles()" method #14

Closed
francoislevesque opened this issue Sep 7, 2018 · 2 comments
Closed

Does not work with the new "withFiles()" method #14

francoislevesque opened this issue Sep 7, 2018 · 2 comments

Comments

@francoislevesque
Copy link

The Field does not work with the new "withFiles()" method when using Trix:

Translatable::make('Content')->trix()
                ->withFiles('public')
                ->hideFromIndex()
                ->sortable()
                ->rules('required'),

It throws Call to undefined method MrMonat\\Translatable\\Translatable::withFiles()

@mrmonat
Copy link
Owner

mrmonat commented Sep 12, 2018

At the moment adding support for file uploads would mean to copy the entire logic from the original Nova Trix Field Vue Component to the Translatable Vue Component, which seems not right.
I'm currently working on v2 of this package, and will try to implement this in version 2.0

@mrmonat mrmonat closed this as completed Sep 12, 2018
@n0n0n0n0
Copy link

n0n0n0n0 commented Mar 6, 2019

any updates?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants