Results 1 to 3 of 3

Thread: [DUPE] applyToMarkup doesn't remove or override specified element

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
      0  

    Default [DUPE] applyToMarkup doesn't remove or override specified element

    I create a Ext.form.Text using this:
    Code:
    Ext.require([     'Ext.form.*' ]); 
    Ext.onReady(function() {
         var myText = new Ext.form.Text({width:100, value: 'Hello world'});
         myText.applyToMarkup('myText');
    });
    When I use FireBug to check the HTML, I see that: Ext4 doesn't create the component on top of (or override) the input HTML element (like in Ext3). Ext4 just simply hide it and create a lot of div to draw the component next to it. I thought Ext4 should remove the old tag if it create a new one already or we should have a config to do that way!

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

  3. #3
    Sencha User
    Join Date
    Sep 2008
    Posts
    107
    Vote Rating
    0
      0  

    Default

    Thanks for your answer... but how could i convert an exsisting html mark to extjs (like applyTo of Ext3) ?

    Thanks a lot.

Similar Threads

  1. Replies: 1
    Last Post: 25 Mar 2011, 5:55 PM
  2. [STALE-372] Attempting to remove a component fails to fully remove element
    By orangechicken in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 4 Nov 2010, 4:35 PM
  3. [2.x][DUP] Element.unmask doesn't remove "relative"
    By LorenzoW in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 13 Aug 2008, 2:54 AM
  4. [2.0b1][CLOSED] FieldSet component remove doesn't remove label
    By iaresean in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 15 Oct 2007, 2:25 AM

Posting Permissions

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