Results 1 to 2 of 2

Thread: Ext.Msg.prompt text required ?

  1. #1

    Default Ext.Msg.prompt text required ?

    Is there any way we can set the property of the text box displayed in the message box (prompt) to not allow blanks. I have a simple requirement of accepting some text(required) and don't want to instantiate a form just for that.

    Thanks

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Ext.MessageBox isn't easily modified (it has a lot of private methods).

    That leaves you with 2 options:
    1. Reshow the prompt when the user presses OK with a blank value.
    2. Build your own window with form.

Similar Threads

  1. Ext.Msg:prompt as password control
    By zampedo in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 24 Jun 2018, 3:08 AM
  2. Ext.Msg.prompt +function parameters
    By lszk in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 14 Aug 2009, 7:12 PM
  3. [2.??] Ext.Msg.prompt can't works in if()
    By yanfeng_1984 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 21 Jul 2009, 5:59 PM
  4. Ext.Msg.prompt with more control
    By frieder in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Apr 2008, 7:40 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
  •