Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Headline and limitOptions dropdown issue #27

Closed
afbora opened this issue Jul 17, 2019 · 3 comments
Closed

Headline and limitOptions dropdown issue #27

afbora opened this issue Jul 17, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@afbora
Copy link
Contributor

afbora commented Jul 17, 2019

FireShot Capture 716 - Katalog - PixelShop - http___pixelshop com_panel_pages_urunler

Here my blueprint:

sections:
    mypagetable:
        headline: Ürünler
        type: pagetable
        status: all
        image:
            cover: true
        columns:
            title:
                label: Ürün Adı
                text: '{{ page.title }}'
                width: 3/6
            price:
                label: Fiyat
                text: '{{ page.price }} / <del>{{ page.priceTag }}</del>'
                width: 1/6
            stock:
                label: Stok
                text: '{{ page.quantity.toInt }}'
                width: 1/6
            date:
                label: Tarih
                type: date
                text: '{{ page.createdAt.toDate("Y-m-d") }}'
                dateInputFormat: 'YYYY-MM-DD'
                dateOutputFormat: 'MMMM YYYY'
                width: 1/6
  1. Do not appear headline that you will see in above screenshot and empty html tag in following screenshot:

ss2

  1. Limit Options dropdown selected item not seen like your screenshot, as if there is a css problem:

ss

@trych
Copy link

trych commented Jul 29, 2019

Same issue. I don't see any headline and the limits dropdown number behaves not accordingly to the setting i set for it.

@sylvainjule sylvainjule self-assigned this Aug 23, 2019
@sylvainjule sylvainjule added the bug Something isn't working label Aug 23, 2019
@adamkiss
Copy link

Headline missing:
it's a missing prop for the tbl-for-kirby component. Retour deals with this via template slot (for tabs), in pagetable it can be fixed easily enough by simply passing options.headline as a prop, like so:

  <tbl
    :rows="rows"
    …
    :headline="options.headline"
  >

Short select / hidden page numbers:
The short select is coming from hardcoded width to 40px in the table component. I submitted a patch, but even after merging, @sylvainjule will have to rebuild this, since this repo currently includes version 1.0.1.

sylvainjule added a commit that referenced this issue Aug 27, 2019
@afbora
Copy link
Contributor Author

afbora commented Aug 31, 2019

@adamkiss just width: auto; not work for me, worked with that:

height: auto;
width: auto;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants