Open Raza9798 opened 2 months ago
Windows
@props([ "id" "isForm" => false, "class" => "modal_form", ]) @if ($isForm) <script type="module"> $(function() { window.validation_plugin = { trigger: new FormValidation.plugins.Trigger(), bootstrap: new FormValidation.plugins.Bootstrap5(), submitButton: new FormValidation.plugins.SubmitButton(), icon: new FormValidation.plugins.Icon({ valid: '', invalid: '', validating: '', }), } window.validation{{"_$id"."_form"}} = FormValidation.formValidation(document.getElementById("{{$id}}_form"), { plugins: window.validation_plugin, }); window.setValidation = function(name, validation){ window.validation{{"_$id"."_form"}}.addField(name, validation) } }) </script> <form id="{{ $id }}_form" name="{{ $id }}_form" action="" method="post" class="{{$class}}"> @endif {{$slot}}
it should format the larvel blade
(T_CONSTANT_ENCAPSED_STRING), expecting ']' on line 3 1 | <?php echo [ 2 | "id" > 3 | "isForm" => false, | ^ 4 | "class" => "modal_form", 5 | ] ?>
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Platform
Windows
Template before formatting
Template after formatting
Expected Behaviour
it should format the larvel blade
Relevant log output