Skip to content

Feature: Allow Question Label Type = Union[str, List] #7

@DiogenesAnalytics

Description

@DiogenesAnalytics

Problem

Sometimes the label of a question in the config.json file can be very long (since it represents the "question" prompt for the client) and it needs to be broken up into multiple lines.

Solution

The best solution I have come across so far is to split them into strings:

{
  "label": [
    "This is a very long string",
    "that takes up multiple lines",
    "and must be broken up ..."
  ],
  "name": "long_question",
  "type": "textarea",
  "required": true
}

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions