Skip to content

Selection and configuration additional settings #3

Open
@sambaptista

Description

@sambaptista

A user may need extra settings on configurations and selections :

Configuration settings :

  • visible [boolean] : hides a configuration from the configuration selection menu. Useful to allow some pre-defined selections without allowing the user to add it himself.
  • unique [boolean] : allow to had a configuration to selections list. Once added, should be hidden from the menu Localizable components #7

Preselection settings :

  • visible [boolean] : hides a selection from the inputs list, but it's considered for output
  • forced [boolean]: prevents user to remove a selection from the input list (implicit if matching configuration has visible=false, see additional notes)
  • readonly : prevent user to change value and open dropdown (focus should still be available for deletion if allowed). Is not duplicate of a flag configuration.

See more about contexts #15

Forced : additional notes :
If a user can remove (or add) a selection, I must be available to do the opposite action to prevent some "irreversible" action.

Use case : if a configuration is not visible from menu and a pre-defined selection is provided, the user should not be able to remove it, because he can't add it afterwards. The "forced" option would be implicit.

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