Results 1 to 2 of 2

Thread: Why Tagfield in ExtJs 5.1 always return blank for getDisplayValue()?

  1. #1
    Sencha User
    Join Date
    Apr 2015
    Location
    Pune, India
    Posts
    21
    Answers
    1

    Default Answered: Why Tagfield in ExtJs 5.1 always return blank for getDisplayValue()?

    I am using tagfiled in my extjs 5.1.0 Application.I just caught in issue with tagfield that I never get display value.


    There is no issue for getting value from tagfield, but I'm unable to get display value.


    Method I'm using for getting display value from tagfield is getDisplayValue()

    Please find fiddle here https://fiddle.sencha.com/#fiddle/pn7

  2. It looks like a bug in 5.1.0 fixed in 5.1.1.

    The tagfield's method getDisplayValue() simply returns getRawValue(). The latter is implemented differently in 5.1.0 (the one you are using) and say 5.1.1 (in which your fiddle works fine). Switch your fiddle to 5.1.1 and see.

  3. #2
    Ext JS Premium Member Greendrake's Avatar
    Join Date
    Jul 2008
    Location
    New Zealand
    Posts
    200
    Answers
    8

    Default

    It looks like a bug in 5.1.0 fixed in 5.1.1.

    The tagfield's method getDisplayValue() simply returns getRawValue(). The latter is implemented differently in 5.1.0 (the one you are using) and say 5.1.1 (in which your fiddle works fine). Switch your fiddle to 5.1.1 and see.
    Know the actual implications of using GPL-licensed client-side JavaScript.

Similar Threads

  1. Tagfield: edit record value with tagfield
    By josei in forum Ext 5: Q&A
    Replies: 4
    Last Post: 8 May 2015, 5:40 AM
  2. getDisplayValue() error
    By Ext4InAction in forum Ext: Discussion
    Replies: 0
    Last Post: 23 Jun 2011, 7:18 AM
  3. Blank Ext.form.Checkbox causes isDirty() to return true
    By cdr1313 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 12 Jun 2009, 3:14 AM
  4. ComboBox getValue getDisplayValue?
    By maquejp in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 17 Sep 2008, 10:30 AM

Tags for this Thread

Posting Permissions

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