Skip to content

Whitespace ignored between markdown elements in select options list #866

Description

@garethbowen

Expected Behaviour

Select options which have markdown elements should render the same in the select as they would on the page.

Observed Behaviour

The whitespace is ignored. If you select the option then the markdown is rendered as expected in the select value.

Reproduction Steps

Form (XML or XLSX file):

Steps:

  1. Load a form with a select with a label like Kipchunu **Dispensary**
  2. Open the select

Screenshots or Videos

Image

Additional info

It's to do with the display: flex of the list item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions