Skip to content

Some UI options don't work? #39

Closed
Closed
@nedkamburov

Description

@nedkamburov

Hello there, I have been implementing this library with relative ease and joy but I have hit a roadblock.

This is my options config for the fontsampler:

{
      order: [["fontfamily", "language", "fontsize", "alignment", "opentype"], "tester"],
      ui: {
        tester: {
          editable: false,
          label: false,
        },

        language: {
          choices: ["enGB|English", "deDe|Deutsch", "nlNL|Dutch"],
          init: "enGb",
          label: false,
        },

        opentype: {
          choices: ["liga|Ligatures", "frac|Fractions"],
          init: ["liga"],
          label: "Opentype features",
        },
      },
      lazyload: true,
    }

The order, language ui choices and lazyload work however any options for the tester or the label field on any feature doesn't do anything...

@kontur Am I using the wrong data structure or I am missing something? Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions