Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: Element doesn't render #656

Closed
brendt opened this issue Oct 31, 2024 · 1 comment · Fixed by #662
Closed

[Bug]: Element doesn't render #656

brendt opened this issue Oct 31, 2024 · 1 comment · Fixed by #662
Labels
Bug Something isn't working Views

Comments

@brendt
Copy link
Member

brendt commented Oct 31, 2024

Tempest Version

1.0-alpha1

PHP Version

8.3

Operating System

MacOS

Description

This element doesn't render. If the :href attribute is omitted, it does

Steps to Reproduce

        <a :if="($author ?? null) && ($href ?? null)" :href="$href">
            — {{ $author }}
        </a>
@brendt brendt added Bug Something isn't working Triage New issues that need to be reviewed by the Tempest team. labels Oct 31, 2024
@brendt brendt added this to the v1.0.0-alpha.4 milestone Oct 31, 2024
@brendt brendt added Views and removed Triage New issues that need to be reviewed by the Tempest team. labels Oct 31, 2024
@brendt
Copy link
Member Author

brendt commented Oct 31, 2024

It also works when changing to

        <a :if="($author ?? null) && ($href ?? null)" href="{{ $href }}">
            — {{ $author }}
        </a>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something isn't working Views
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant