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

URLs of link fields are not truncated in table layout columns #6510

Closed
philipptrenz opened this issue Jun 27, 2024 · 0 comments · Fixed by #6550
Closed

URLs of link fields are not truncated in table layout columns #6510

philipptrenz opened this issue Jun 27, 2024 · 0 comments · Fixed by #6550
Assignees
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@philipptrenz
Copy link

philipptrenz commented Jun 27, 2024

Description

When using a table layout for pages with an url field in a column, the url link within this column gets truncated. When using a link field with an URL, the whole url string is displayed and wrapped into multiple lines, if too long.

          redirects:
            type: pages
            layout: table
            columns:
             linkField:    # <- this one is shown in full length, wrapped into multiple lines 
                type: link
                value: "{{ page.link }}"
             urlField:    # <- this one is shown truncated 
                type: url
                value: "{{ page.link }}"

Expected behavior

I expect that url and link field types are displayed equally in a page table layout column: Getting truncated if too long.

Screenshots

Bildschirmfoto 2024-06-27 um 11 43 23

To reproduce

See blueprint snippet above.

Your setup

Kirby Version

4.3.0

@distantnative distantnative self-assigned this Jul 21, 2024
@distantnative distantnative added the type: bug 🐛 Is a bug; fixes a bug label Jul 21, 2024
distantnative added a commit that referenced this issue Jul 21, 2024
@distantnative distantnative linked a pull request Jul 21, 2024 that will close this issue
5 tasks
@bastianallgeier bastianallgeier added this to the 4.4.0 milestone Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants