Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-21517

the 'class' attribute for Text Inputs in Gadget field definition API doesn't work

    XMLWordPrintable

Details

    • 4.01
    • Severity 3 - Minor
    • Hide
      Atlassian Update – 16 November 2017

      Hi everyone,

      The issue has not collected enough votes, watches, comments or support cases during it's lifetime. In this sense overal interest in the reported problem is low.
      Jira team is focusing on bigger and more impactful issues at the moment and we are not likely to look at the current bug soon. Therefore I'm resolving the issue as Timed Out.

      Atlassian will continue to watch issue for the further updates, so please don't hesitate to share your feedback in the issue comments.

      Cheers,
      Ignat Alexeyenko
      Jira bugmaster.

      Show
      Atlassian Update – 16 November 2017 Hi everyone, The issue has not collected enough votes, watches, comments or support cases during it's lifetime. In this sense overal interest in the reported problem is low. Jira team is focusing on bigger and more impactful issues at the moment and we are not likely to look at the current bug soon. Therefore I'm resolving the issue as Timed Out . Atlassian will continue to watch issue for the further updates, so please don't hesitate to share your feedback in the issue comments. Cheers, Ignat Alexeyenko Jira bugmaster.

    Description

      The Gadget field API Javascript documentation at http://confluence.atlassian.com/display/GADGETDEV/Field+Definitions#FieldDefinitions-TextInput
      says that the value of class attribute will be given to the resulting input.
      Setting this class attribute has no effect.
      I've attached a simple gadget plugin where I've set

      class:"dateSearcher"

      on line 80 of specs/new.xml.
      The attached screenshot shows that the input element in question has no class set. It should have the calendar icon to the right of it.

      Attachments

        1. no-class.png
          no-class.png
          160 kB
        2. temp-1.0-SNAPSHOT.jar
          4 kB

        Activity

          People

            Unassigned Unassigned
            adc6ee404f6d Jeff Kirby
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: