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,136
    Vote Rating
    189
      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 User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,967
    Vote Rating
    931
      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.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,136
    Vote Rating
    189
      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
  •