Closed barovski closed 1 year ago
You can use the reactive or lazy method if you need to do something in the form when the field value changes.
RangeSlider::make('range')
...
->reactive()
->afterStateUpdated(function (Closure $set, $state) {
// Do anything you need
})
...
Thanks, I want to show it in range-slider.blade.php, I'm not so familiar with livewire
If you want to rewrite the template you can do it by publishing the templates and updating the file by yourself:
php artisan vendor:publish --tag="filament-range-field-views"
This is not a bug, because I have a 30 options I will hide the values below slider, but how to get current slide value when slider move?
Thanks