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

[Panel] Path is not generated when querying files in textarea #2366

Closed
Pandorrrrrra opened this issue Dec 17, 2019 · 1 comment
Closed

[Panel] Path is not generated when querying files in textarea #2366

Pandorrrrrra opened this issue Dec 17, 2019 · 1 comment
Assignees
Milestone

Comments

@Pandorrrrrra
Copy link

@Pandorrrrrra Pandorrrrrra commented Dec 17, 2019

Describe the bug
Getting files with the file button in a textarea via a query from another page, the correct path is not generated.

To Reproduce
Steps to reproduce the behavior:

  1. Create a textarea field with files set to query another pages files, e.g:
text:
    label: Text
    type: textarea
    files:
        query: site.find("downloads").files
  1. Go to the textarea in the Panel
  2. Click on the file button and then select a file (from the page "downloads")
  3. See file without path to page "downloads": (file: file.pdf)

Expected behavior
The file should be inserted in the textarea with the path to the page "downloads":
(file: downloads/file.pdf)

Kirby Version
3.3.1

Desktop

  • OS: macOS High Sierra 10.13.6
  • Browser: Firefox
  • Version: 71.0
@afbora afbora added this to the 3.3.3 milestone Dec 17, 2019
@afbora afbora self-assigned this Dec 17, 2019
afbora added a commit that referenced this issue Dec 17, 2019
@afbora afbora mentioned this issue Dec 17, 2019
2 of 4 tasks complete
bastianallgeier added a commit that referenced this issue Jan 7, 2020
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

@bastianallgeier bastianallgeier commented Jan 7, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.