Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Fields which have a hint set do not show as disabled when using setDisabled(true)

    Hello,

    We are experiencing an issue where fields suddenly no longer display as disabled when they have an 'in field' hint set.

    This obviously confuses the user.

    We would expect our normal styling as applied on regular non-hint fields.

    We use: TextItem.setShowHintInField(true)

    According to the documentation this triggers additional styling, we don't want this and honestly don't see a general purpose for that. Could this particular logic be switched of in some way?

    please advise

    #2
    We're looking at applying a disabled style for these fields. Can we just confirm which build you're using please?

    Thanks

    Comment


      #3
      We are on SNAPSHOT_v8.3d_2012-10-11/Pro Deployment (built 2012-10-11) and plan to upgrade to the final release when it releases.

      thanks

      Comment


        #4
        Ok thanks for letting us know. We are making a change to apply a Disabled version of the Hint style to the text box for this case. It will be part of the 3.0 final release

        Regards
        Isomorphic Software

        Comment


          #5
          Super, just for your information - we have placed this hack in our code in the mean time.

          isc.FormItem.getPrototype().$66v = function isc_FormItem__getInFieldHintStyle() {

          var element = this.getDataElement();
          if (element) {
          return element.className;
          } else {
          var textBox = this._getTextBoxElement();
          return textBox.className;
          }
          }

          Comment


            #6
            The change has now been added to our codebase so should be present in the next nightly build (as well as 3.1 final, of course)

            Comment

            Working...
            X