Skip to content

Cannot find value crossorigin in this scope, not found in this scope #4482

@thanhdatvo

Description

@thanhdatvo

Problem
There is an error when using crossorigin attribute in document:Link

        document::Link {
            rel: "preconnect",
            href: "https://fonts.gstatic.com",
            crossorigin,
        }

Expected behavior
Not error should happen

Screenshots

Image

Environment:

  • Dioxus version: dioxus 0.6.3
  • Rust version: rustc 1.86.0
  • OS info: macos 26.0
  • App platform: web

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions