Results 1 to 3 of 3

Thread: about disabledDays and validation

  1. #1
    Sencha User
    Join Date
    Oct 2009

    Default about disabledDays and validation

    I use Extjs 4.2.1.

    here is my problem, I don't know is it a bug or not.

    this is part of my code:
    fieldLabel: 'Accepted Date',
    name: 'acceptedDate',
    xtype: 'datefield',
    disabledDays: [0, 6],
    format:'d F Y',

    I want to submit 22 November 2013 and today is 22 December 2013.

    today is sunday of course it should not be checked as valid date, but when I enter 22 November 2013 (friday and this should be checked as valid date), but I couldn't submit the form because it said that it isn't valid date.

    thanks before.

  2. #2
    Sencha User
    Join Date
    Nov 2012


    I checked the code above and it works properly. I'm unclear what you mean about 22 December. I would think the issue must be in your validation code. Did you enter the date or use the datepicker? If you entered the text? Did it fail that way and work when choosing the date?

  3. #3
    Sencha User
    Join Date
    Oct 2009


    I mean the date of my system is 22 december 2013, but i want to input 22 November 2013 to may app, it is mark as invalid date to input. I did not use custom validation rule.

Posting Permissions

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