8 lines
429 B
PHP
8 lines
429 B
PHP
{{-- Turbo Stream answer to a review that failed validation
|
|||
|
|
(ProductController::storeReview(), status 422): the form again, with
|
||
|
|
inline errors and the entered values, focus on the first invalid field. --}}
|
||
|
|
<turbo-stream action="replace" target="product-review-form">
|
||
|
|
<template>
|
||
|
|
<x-review-form :product-id="$productId" :messages="$messages" :values="$values" :focus="true" />
|
||
|
|
</template>
|
||
|
|
</turbo-stream>
|