Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Link not working in "title" element #988

Open
xmrsa opened this issue Dec 18, 2024 · 0 comments
Open

Link not working in "title" element #988

xmrsa opened this issue Dec 18, 2024 · 0 comments
Labels
kind/bug Something isn't working status/triage

Comments

@xmrsa
Copy link

xmrsa commented Dec 18, 2024

Description of the bug

Defining a link (lenke) in a "title" text (in my case for a radiobutton) does not work. When putting the exact same textId in a "description" it works as expected.
Image

Steps To Reproduce

The component that I used, was created like this:

{
        "dataModelBindings": {
          "simpleBinding": "SkjemaData.anleggsGevinstTapJaNei"
        },
        "id": "RadioButtons-AnleggsmGevinstTap-tekst-i-flere-deler",
        "type": "RadioButtons",
        "textResourceBindings": {
          "title": [
            "concat",
            [
              "text",
              "S05_AnleggsmGevinstTap.RadioButtons-AnleggsmGevinstTap.title.del1"
            ],
            " ",
            [
              "linkToPage",
              ["text", "S05_Anleggsmidler"],
              "S05_Anleggsmidler"
            ]
          ],
          "description": [
            "concat",
            [
              "text",
              "S05_AnleggsmGevinstTap.RadioButtons-AnleggsmGevinstTap.title.del1"
            ],
            " ",
            [
              "linkToPage",
              ["text", "S05_Anleggsmidler"],
              "S05_Anleggsmidler"
            ]
          ]
        },
        "optionsId": "JaNeiOptionlist"
      },

Additional Information

Bug created in connection with this Slack-thread: https://altinn.slack.com/archives/C02EJ9HKQA3/p1734356304622969

@xmrsa xmrsa added the kind/bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/triage
Projects
Status: No status
Development

No branches or pull requests

1 participant