Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-55

Generate a select field to limit entry to a specified set of options

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1
    • None
    • None
    • Yes
    • Features 8
    • 5

      User story:

      As a Business Analyst / Developer, I want to specify a limited set of options for the value of the property and the UI will enforce that the user can only supply one of those options.

      Acceptance criteria:

      • Developer can supply a set of options values
      • Developer can supply a set of option labels.
      • Developer can still specify the type as Integer, String or any other "raw type".
      • UI will show a select box control by default.
      • Developer can specify to use an alternative control (such as "radio button" group) by overriding the "class" or "fieldType" property in the app descriptor.
      • Criteria

       

      Model suggestion:

      model:  
      - name: 'firstName'  
      - name: 'category'    
        type: String 
        options:
        - value: bullet
          label: Bullet
        - value: ordered
          label: Ordered
        - value: inline
          label: Inline

      Note: "label" is optional.

        Acceptance criteria

              thien.quach Quach Hao Thien
              oanh.thai Oanh Thai Hoang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3d 4.5h
                    3d 4.5h