Skip to content

Widgets for multi-valued parameters #4

@DavidBerger98

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

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