Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-829

Tag, to display given option title

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.2-RC1
    • Fix Version/s: 5.2.0-B1
    • Component/s: Front End
    • Labels:
      None
    • Additional information:
      Hide

      Sample usage:
      <inp2:m_RenderElement name="inp_single_checkbox" prefix="cf" field="ElementType" value="radio"/>

      <inp2:m_RenderElement name="inp_single_option" prefix="cf" field="ElementType" value="radio"/>

      Show
      Sample usage: <inp2:m_RenderElement name="inp_single_checkbox" prefix="cf" field="ElementType" value="radio"/> <inp2:m_RenderElement name="inp_single_option" prefix="cf" field="ElementType" value="radio"/>
    • Change Log Message:
      Adding OptionValue tag for displaying option title by option id
    • Story Points:
      1
    • External issue ID:
      1027
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In-Portal has nice tag called Selected, which allows to check if a particular option inside a field value is present.

      However it's missing a tag to display any (of the given field options) option title when only it's ID is known.

      I suppose, that we can create such a tag and call it OptionValue.

      Along with Selected tag it will allow to manipulate with a particular option of fields, that have many of them.

      For example it will allow to display only a particular countries instead of all countries on user registration form.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: