Bernhard Hörmann

Results 29 comments of Bernhard Hörmann

Still getting the `join` js error msg. Where do I have to put the `HasConditionalContainer`? To the `HtmlLayout` or the `Resource`? I tried both.

I have analyzed it and found a couple of issues. First I am using your `HasMegaFilterTrait` as well, so I had to create my own trait: ```php trait HasMegaFilterAndConditionalContainer {...

@milewski I just used the branch as well and tried the code of @dividy but i get ``` TypeError: Cannot read property 'join' of undefined at _loop (conditional-container:175) ``` And...

Oh. So stupid. Thank you! Now I get ``` Method Whitecube\NovaFlexibleContent\Flexible::resolveConditionalContainer does not exist. ``` The ```php if ($flexibleContent->isNotEmpty()) { $this->registerFlexibleMacros($request, $flexibleContent); } ``` is false, so this macro is...

It occurs on edit and detail page. And the endpoint throwing it is `/nova-api/MODELNAME/ID` On ``` vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php:103 ```

Btw. I am on `dev-flexible-content 7e5e620` atm. Ok, found it out, that if I don't use the https://github.com/eminiarts/nova-tabs package, than it works. Wrapping it into it, throws the error. The...

Ok, at least I can fix the issue with the tabs package (and all other packages based on `Panel` items). In HasConditionalContainer.php:460 just add ```php if($field instanceof Panel && $field->data)...

Ok, now it only worked on empty data. After save i get ``` Cannot bind an instance to a static closure ``` To fix this change `HasConditionalContainer:178` ```php $field::macro('generateFieldName', static...

Thank you very much, for your help, this package (and `nova-mega-filter` and `collapsible-resource-manager`). Do you have a "buy me a cup of coffee" link or something else?

Thats not the problem, because case 1 is not expected to work, so its ok, that it doesn't work. The problem is the weird behavior of case 3.