-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Milestone
Description
Description
When I want to change the position of a listed page, the numbered options in the panel dropdown includes a hyphen as the first option that can be selected, please see first screen shot.
If the user selects the hyphen instead of choosing a number, it throws an error, please see second screen shot.
Expected behavior
No hyphen should show up as an option when choosing a position for the listed page.
Screenshots
To reproduce
Below is the yaml code for how my pages are set up:
file: work.yml
title: Work
navigation:
status: all
template: all
options:
delete: false
changeTitle: false
changeTemplate: false
changeSlug: false
changeStatus: false
columns:
- width: 1/1
sections:
drafts:
headline: Drafts
type: pages
# batch: true
layout: list
image:
cover: true
icon: none
back: black
text: '{{ page.title }}, {{ page.year }}'
info:
status: drafts
templates: artwork
- width: 1/1
sections:
published:
headline: Published
type: pages
# batch: true
layout: cards
size: medium
image:
query: page.featured_image.toFile
cover: true
icon: none
back: black
text: '{{ page.title }}, {{ page.year }}'
info: ''
status: published
limit: 50
file: artwork.yml
title: Artwork
navigation:
status: all
template: all
status:
draft: Draft
listed: Published
tabs:
content:
label: Content
icon: page
columns:
main:
width: 3/4
sections:
etc etc...
Your setup
Kirby Version
Kirby 5.1.2.
Your system (please complete the following information)
- Device: Macbook Pro
- OS: MaxOS 15.6
- Browser: Chrome
- Version: 140.0.7339.214
Additional context
listed in the forum here:
https://forum.getkirby.com/t/changing-page-position-for-listed-pages-shows-hyphen-in-panel-dropdown/34880