Results 1 to 3 of 3

Thread: Can't set label configured with 'text' as 0 (number)

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,078
    Vote Rating
    184
      0  

    Default Can't set label configured with 'text' as 0 (number)

    Works fine though when using 'setText(0)'.

    Test case: http://fiestadev.bryntum.com/#200-form-label-text-0

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,608
    Vote Rating
    874
      0  

    Default

    Technically that's not a bug, since the docs say it expects a string:

    http://docs.sencha.com/extjs/4.2.1/#...Label-cfg-text

    I guess it would make sense to handle that case as well though.
    Evan Trimboli
    Twitter - @evantrimboli

  3. #3
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,078
    Vote Rating
    184
      0  

    Default

    Yup, technically not a bug - but inconsistent!

Posting Permissions

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