Skip to content

Widgets for multi-valued parameters #4

Description

@DavidBerger98

Enable/implement a dynamic widget for multi-valued parameters (e.g. tuples) similar to what has been done in the Vera example (http://kitware.github.io/simput/app/). It would be neat to be able to define a type for each field separately.

See picture below:

image

In this example we'd have tuples of (string, float64).

I would imagine the model.yaml to look like this:

MultiValuedTuples:
  _label: Multi-valued tuples
  _help: >-
    You can also define multiple types as a tuple, like this.
  type: [string,float64]
  size: -1
  initial:
    - ["a",1.0]
  domains:
  - type: UI
    properties:
      sizeControl: true

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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