Results 1 to 3 of 3

Thread: Rendered HTML broken for disabled trigger fields on Neptune and Triton themes

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-4398 in 4.0.
  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    15

    Default Rendered HTML broken for disabled trigger fields on Neptune and Triton themes

    The renderInput method in Css3TwinTriggerFieldAppearance is missing a space after adding the disabled tag. This breaks the tag that follows, in my case causing the style not to work.

    To reproduce simply set enabled to false on a TextField or ComboBox while using the Neptune or Triton themes.
    HTML Code:
    <input disabled="truestyle='width:100%;'" class="com-sencha-gxt-theme-triton-client-base-field-Css3TriggerFieldAppearance-Css3TriggerFieldStyle-field ...
    The bug is on line 156 of Css3TriggerFieldAppearance. A space needs to be added to the string builder after the disabled tag.
    Code:
    if (options.isDisabled()) {
      sb.append("disabled=true ");
    }

  2. #2
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,178

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    15

    Default

    The Triton theme jar is missing from the nightly builds. I can see this fix made in into the Neptune theme jar, just need the Triton version now. I tried compiling the Triton theme myself using the Theme builder but that didn't work out properly since some of the icons appear white. Please add the Triton theme to the nightly build.

Similar Threads

  1. Replies: 1
    Last Post: 20 Jun 2014, 6:38 AM
  2. I think your flat themes like Neptune look awful
    By dougbieber in forum Ext: Discussion
    Replies: 3
    Last Post: 17 Feb 2014, 2:09 PM
  3. [ 4.2.x ] [ Neptune ] UI themes avaiblables
    By Tchinkatchuk in forum Ext: Q&A
    Replies: 1
    Last Post: 8 Jul 2013, 11:24 AM
  4. Replies: 5
    Last Post: 10 Aug 2012, 6:32 AM
  5. [2.0b1] Combobox trigger not rendered if disabled
    By Brendan Carroll in forum Ext 2.x: Bugs
    Replies: 7
    Last Post: 22 Oct 2007, 2:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •