Closed bhattji closed 7 months ago
I faced similar issue, here's what worked for me:
note: First you have to publish components related files inside the views file by using the following command line: php artisan vendor:publish --provider="ProtoneMedia\Splade\ServiceProvider" --tag="views"
Then inside the resources/views/vendor/splade/form/checbox
The content of the blade file and replace it with the following:
<div {{ $attributes->only(['v-if', 'v-show', 'class']) }}>
@includeWhen($help, 'splade::form.help', ['help' => $help])
@includeWhen($showErrors, 'splade::form.error', ['name' => $validationKey()])
Unable to debug without a code example.
I have tried all the methods, but I am not able to bind the x-splade-checkboxes/x-splade-checkbox . I have values in database, which I am getting from database, if the value is true, I expect the respctive x-splade-checkbox to be checked, but there is no way the x-splade-checkbox gets checked.
Please help at the earliest
You may use the built-in Artisan Command to show the installed versions of the packages:
Make sure both Splade packages (JS + PHP) are up-to-date and on the same version. For example, when using version 0.5.0 of the PHP package, you should use the same JavaScript package version.
Description:
Steps To Reproduce Issue: