Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8417829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:09:21+00:00 2026-06-10T02:09:21+00:00

An earlier question mentioned a method using the el config in order to make

  • 0

An earlier question mentioned a method using the el config in order to make the browser remember passwords. Howewer, the el config no longer exists in ExtJS 4.1.

Now, what should I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:09:22+00:00Added an answer on June 10, 2026 at 2:09 am

    I believe it should be contentEl instead of el but I do this another way. You can build the entire thing with ExtJS directly. The only twist is that Ext fields will be created with the autocomplete=off attribute by default, so I use a derived class to override that.

    Ext.define('ACField', {
        extend: 'Ext.form.field.Text',
    
        initComponent: function() {
            Ext.each(this.fieldSubTpl, function(oneTpl, idx, allItems) {
                if (Ext.isString(oneTpl)) {
                    allItems[idx] = oneTpl.replace('autocomplete="off"', 'autocomplete="on"');
                }
            });
            this.callParent(arguments);
        }
    });
    
    Ext.onReady(function() {
        new Ext.panel.Panel({
            renderTo: Ext.getBody(),
            width: 300,
            height: 100,
            autoEl: {
                tag: 'form',
                action: 'login.php',
                method: 'post'
            },  
            items: [
                new ACField({
                    xtype: 'textfield',
                    name: 'username',
                    fieldLabel: 'Username'
                }), 
                new ACField({
                    xtype: 'textfield',
                    name: 'password',
                    fieldLabel: 'Password',
                    inputType: 'password'
                }), 
            ],
            buttons: [{
                xtype: 'button',
                text: 'Log in',
                type: 'submit',
                preventDefault: false
            }]
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As mentioned in an earlier question of mine, I'm new to ATK4 and I'm
I've begun to use TDD. As mentioned in an earlier question the biggest difficulty
As mentioned in an earlier question , I have uncovered some style options that
In the earlier question OP has created a situation where a BCL method was
As mentioned in another question earlier, I have a system that displays content and
An earlier question was answered about getting the OrderID and the number of associated
This question is very similar to an earlier question I asked ( This Question
Following on from my earlier question about creating Address Books (many thanks Peter!), I
In an earlier question (http://bit.ly/KNMN89), I encountered an issue caused by IE7's broken implementation
Related to an earlier question I asked, I've seen that there's both LoadComponent() and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.