Sebastien R

Results 10 comments of Sebastien R

Maybe ``` '@(?!font-face|import|media|keyframes|-|{)(\w+)(?=\s*[{|@])' => '#{$\\1}' ``` https://regex101.com/r/dBwcAs/3

+1 Pleassssssse fix this bug, it's very annoying :( This bug appeared in the 2.22.0 release, the debug log is ![image](https://user-images.githubusercontent.com/1552045/132018079-d71db656-9903-4faa-89bf-6538c426b603.png)

Same behavior in your [website ](https://editorjs.io/): ![image](https://user-images.githubusercontent.com/1552045/133664029-4c7df9be-b3ab-4328-8e18-e76e7bdeac94.png)

Same issue here. Using the --debug I have this error: ``` PHP Fatal error: Uncaught Error: Call to undefined function get_debug_type() in phar:///var/www/others/workday/vendor/laravel-zero/framework/bin/box/vendor/symfony/console/Application.php:528 ``` `get_debug_type()` is a PHP8 method, but...

I managed to make it work by doing that: ``` Multiselect::make('Main specialty', 'mainSpecialty') ->belongsToMany(\App\Nova\Specialty::class) ->fillUsing(function ($request, $model, $requestAttribute, $attribute) { $model::saved(function ($model) use ($attribute, $request) { $relation = $model->{$attribute}(); //...

You can use `resolveUsing()` to override the default Datetime resolver. ``` DateTime::make('Date') ->format('DD/MM/YYYY HH:mm') ->resolveUsing(function ($value) { return $value; }), ```

Same issue with `required_if`, `required_unless`... all rules referencing another field. Also, rules seems not applied if the value is null, example: `->rules(['nullable', new CustomRules]),` the `CustomRules::passes()` method is not called.

@sgilberg fails if method does not exists in the model. fixed using: ``` $applyMakeAllSearchableUsing = method_exists($instance, 'makeAllSearchableUsing') && is_callable([$instance, 'makeAllSearchableUsing']); ```

For me, loras are not refreshed by clicking the "refresh" button (I use an extra_model_paths.yaml).