Results 1 to 3 of 3

Thread: Tagfield incorrect view

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Jan 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default Tagfield incorrect view

    Hi!
    When i create a tagfield, a see strange thing (see attach.).
    What i do wrong?


    PHP Code:
    Ext.define('mlwd.view.kit.createKit' ,{    extend'Ext.window.Window',    alias 'widget.createKit',    title 'Добавить кит',    layout'fit',    autoShowtrue,    modaltrue,        initComponent: function() {            var kit_combo Ext.create('Ext.data.Store', {                autoLoadtrue,                fields: ['title','id'],                data : [                    {"title":"MWD""id" 1},                    {"title":"LWD""id" 2},                    {"title":"ADD LWD""id" 3},                                    {"title":"NDT""id" 5}                ]            });                    var kit_size_combo Ext.create('Ext.data.Store', {            fields: ['title','id'],            data : [                {"title":"4 3/4""id" 2},                {"title":"6 3/4""id" 3},                {"title":"8 1/2""id" 4}                   ]        });                            this.items = [            {                xtype'form',                layout 'form',                width 400,                height 400,                bodyPadding15,                                items: [                    {                        xtype'textfield',                        name 'serial',                        fieldLabel'Серийный номер'                    },{                        xtype'combo',                        fieldLabel'Тип кита',                        name 'kit_type',                        storekit_combo,                        queryMode'local',                        displayField'title',                        valueField'id'                    },{                        xtype'tagfield',                        fieldLabel'Размер',                        storekit_size_combo,                        displayField'title',                        valueField'id',                        queryMode'local',                        filterPickListtrue,                        editable false                    }                ]            }        ];
            
    this.buttons = [            {                text'Save',                action'save'            },            {                text'Cancel',                scopethis,                handlerthis.close            }        ];
            
    this.callParent(arguments);    }}); 
    Attached Images Attached Images

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    292
      0  

    Default

    Thanks for the report. Can you please post a test case which reproduces this issue?
    https://fiddle.sencha.com/#view/editor

    Lifecycle management for your web apps

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    757
    Vote Rating
    152
      0  

    Default

    Looks like you are missing some CSS or your custom CSS is overriding ExtJS default CSS.
    Rebuild the app and try again.

Similar Threads

  1. tagfield as editor hides grid view
    By matei in forum Ext 6: Bugs
    Replies: 1
    Last Post: 17 Feb 2017, 12:41 PM
  2. Tagfield: edit record value with tagfield
    By josei in forum Ext 5: Q&A
    Replies: 4
    Last Post: 8 May 2015, 5:40 AM
  3. path of view is incorrect in extjs 4 mvc application
    By Anthony.Hall in forum Ext: Discussion
    Replies: 1
    Last Post: 5 Feb 2012, 6:54 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
  •