Skip to content

Commit

Permalink
Fix disappearing checkbox
Browse files Browse the repository at this point in the history
When the wrapping `div` was wired to `accountExists`, `accountExists` was set to `true` as soon as the checkbox was checked. It then disappeared, as is it only shown, when `accountExists` is `false`.
  • Loading branch information
Irinina authored Mar 5, 2024
1 parent f4178ba commit c013b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/templates/magewire/create-account.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (!$guestCheckerViewModel->isCustomerGuest()) {
}

?>
<div wire:model="accountExists">
<div>
<?php if (!$magewire->accountExists): ?>
<div class="flex gap-x-4">
<div class="flex items-center">
Expand Down

0 comments on commit c013b9b

Please sign in to comment.