Skip to content

Currency symbols don't show up in a currency field when rendering a form with renderMode set to html #6153

Open
@evancook11

Description

@evancook11

Describe the bug
Formio currency field doesn't display the currency symbol (i.e. $ for USD) when rendering the form with renderMode set to html when using formio.embed.js from the CDN (https://cdn.form.io/js/formio.embed.js)

To Reproduce
Steps to reproduce the behavior:

  1. Create a form with a currency field
  2. Render the form using Formio.createForm with {renderMode: 'html'} as an option
  3. Populate the form with data
  4. See error

Expected behavior
I expect the corresponding currency symbol to be displayed with the field's value

Screenshots

When render mode is set to html:
Image

When render mode is set to form:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions