Sebastien R
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 
Same behavior in your [website ](https://editorjs.io/): 
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}(); //...
Seems not :(
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).