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

[Bug]: Posts-dropdown / tags-dropdown UI cannot be seen or edited in Publii app #1509

Open
kryptot7 opened this issue May 5, 2024 · 0 comments

Comments

@kryptot7
Copy link

kryptot7 commented May 5, 2024

Operating system

Windows 11 x64

Publii version

Version: 0.45.2 (build 16609)

Post editor

None

Bug description

I added a new config variable of type "posts-dropdown" to my theme by overriding config.json.
However, while the variable shows up in the Publii app, it has no dropdown:

image

image

This bug happened when I added the variable to the postConfig, and also to the tagConfig.
This variable of type "number" renders just fine:

image

image

This issue also seems to apply to "tags-dropdown":
image
image

All of the above seems to apply to the Theme tab's global settings area as well...
image

Steps to reproduce

  1. Open Publii. Ensure your blog has posts and tags.
  2. Override your theme. I used the "Taste" theme.
  3. Add a variable to the postConfig or tagConfig of type "post-dropdown" or "tags-dropdown".
  4. Generate preview files.
  5. Close and re-open the Publii app.
  6. Try to edit the values for one of the posts or the global settings...but unfortunately, you cannot, because there is no dropdown.

Relevant log output

The logs did not contain any errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant