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 7446455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:19:20+00:00 2026-05-29T12:19:20+00:00

in sencha touch 2pr4, is it possible to set some property for input (xtype:passwordfield)

  • 0

in sencha touch 2pr4,
is it possible to set some property for input (xtype:passwordfield) that will accept numbers only same as (xtype:numberfield) ?

so it wont bring keypad set to alpha-characters everytime you have to fill i.e. PIN field

example input

    {
xtype: 'fieldset',
defaults: {
    margin: '0 3 0 3'
    },
layout: 'hbox',
items: [
    {
    xtype: 'passwordfield', 
    maxLength: 1,
    name : 'pin1',
    useClearIcon: false,
    autoCapitalize : false,
    flex: 1,
    index: 1
    }]
}

modify sencha-touch.js ?

Ext.define('Ext.field.Password', {
    extend: 'Ext.field.Text',
    alias : 'widget.passwordfield',
    alternateClassName: 'Ext.form.Password',

    config: {
        // @inherit
        autoCapitalize: false,

        // @inherit
        component: {
            type: 'password' // is there alternative ? 

              // changing field onFocus to type:number and back to star* character ?
        }
    }});
  • 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-05-29T12:19:21+00:00Added an answer on May 29, 2026 at 12:19 pm

    It looks like you can extend a normal text or pass field and get the number keyboard, take a look at this solution provided on the sencha forum: http://www.sencha.com/forum/showthread.php?152639-Trigger-number-only-keypad-on-iOS-Android

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Sencha Touch 2.0 app that is set up with a card
I am writing an application using Sencha Touch that will require a login to
Sencha touch has an xtype called emailfield that shows the email-styled keyboard on the
Developing a Sencha Touch MVC app that pulls data from json store (thats set
I have a Sencha Touch 1.1/Phonegap 1.3 application that works correctly on the iPad
With Sencha Touch, i want to use some of the icons in the directory
I'm using Sencha touch 2. I have store that load from existing js object:
Im writing a Sencha touch app that I want to show a popup box
On perusing the Sencha Touch kitchen sink, I noticed that they have somehow disabled
I am new to Sencha Touch and now engaged in creating some complex banking

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.