mrmonat / nova-translatable

Nova Field for spatie/laravel-translatable package.
81 stars 26 forks source link

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

Closed francoislevesque closed 6 years ago

francoislevesque commented 6 years ago

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 commented 6 years ago

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

n0n0n0n0 commented 5 years ago

any updates?