contenttype choice label

Open
#172 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, symfony
Domain
backend

Research direction

Start with the contenttype_choice configuration and the handling of its params label value. Check the existing choice-label behavior to determine whether title and slug can be combined; done when the supported configuration or limitation is clearly established.

Written by the indexing model from the issue text.

Description

Hello,

I use contentype choice:

Other parameters are optional.

contenttype_choice:
    type: choice
    options:
        required: false
        label: ContentType selection
        choices: content
        params:
            contenttype: pages
            label: title
            value: slug
            limit: 4
            sort: title
            order: DESC            # "ASC" or "DESC"
            where:
                and: { 'koala': 'bear' }
                or: { 'koala': 'dangerous' }

But how can I in the label choose 2 columns?

for example: title and slug

contenttype_choice:
    type: choice
    options:
        required: false
        label: ContentType selection
        choices: content
        params:
            contenttype: pages
            label: title, slug
Dominant language
PHP
Stars
52
Forks
54
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bolt/boltforms

All issues in bolt/boltforms

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.