Skip to content

Commit

Permalink
Update component-container.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 14, 2023
1 parent 8749e66 commit d2691df
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions packages/forms/resources/views/component-container.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,34 @@
:x-data="$isRoot ? '{}' : null"
:x-on:form-validation-error.window="
$isRoot ? ('if ($event.detail.livewireId !== ' . Js::from($this->getId()) . ') {
return
}
return
}
$nextTick(() => {
error = $el.querySelector(\'[data-validation-error]\')
$nextTick(() => {
error = $el.querySelector(\'[data-validation-error]\')
if (! error) {
return
}
if (! error) {
return
}
elementToExpand = error
elementToExpand = error
while (elementToExpand) {
elementToExpand.dispatchEvent(new CustomEvent(\'expand\'))
while (elementToExpand) {
elementToExpand.dispatchEvent(new CustomEvent(\'expand\'))
elementToExpand = elementToExpand.parentNode
}
elementToExpand = elementToExpand.parentNode
}
setTimeout(
() =>
error.closest(\'[data-field-wrapper]\').scrollIntoView({
behavior: \'smooth\',
block: \'start\',
inline: \'start\',
}),
200,
)
})') : null
setTimeout(
() =>
error.closest(\'[data-field-wrapper]\').scrollIntoView({
behavior: \'smooth\',
block: \'start\',
inline: \'start\',
}),
200,
)
})') : null
"
:default="$getColumns('default')"
:sm="$getColumns('sm')"
Expand Down

0 comments on commit d2691df

Please sign in to comment.