[OPEN] [#712] [3.1.0] [Locale specific] DateField with Format 'MMMM yyyy' cannot set value to or get value from its MonthPicker.

  1. #1

    [OPEN] [#712] [3.1.0] [Locale specific] DateField with Format 'MMMM yyyy' cannot set value to or get value from its MonthPicker.

    BTW, in 3.1.0.33068 the following declaration

    <ext:DateField ID="_dt" runat="server" Type="Month" Format="MMMM yyyy" />
    automatically selects January when the field loses focus no matter what the picked month was and getValue() is affected, too.
    Last edited by Dimitris; Feb 16, 2015 at 5:09 AM.
  2. #2
    Hi Dimitris,

    I cannot reproduce. Tried in Firefox, IE and the latest source from SVN trunk.

    When tested in Chrome, discovered another issue:
    https://github.com/extnet/Ext.NET/issues/668

    After fixing retested your issue and could not reproduce as well.

    Tested with this code sample. Have you tried with something similar or any of Raphael's overrides were applied?

    Example
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v3 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            
            <ext:DateField runat="server" Type="Month" Format="MMMM yyyy" />
        </form>
    </body>
    </html>
  3. #3
    @Daniil, still happens in latest svn both in FF and IE with exactly your example code. It is an amazing bug related to the current locale.

    Steps to reproduce (when locale is not en-Us):
    1. Pick a month other that January and click OK button
    2. Click anywhere outside the component's area
    3. Displayed month turns to January.


    Just out of curiosity, I run a few tests:
    • en-US : OK
    • ru-RU : OK
    • tr-TR : fail
    • el-GR : fail
    • pt-BR : OK
    • it-IT : OK
    • bg-BG : fail

Similar Threads

  1. Replies: 14
    Last Post: Apr 26, 2016, 10:46 PM
  2. [CLOSED] DateField using Format dd MMMM yyyy with locale ru-RU
    By mohan.bizbites in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 20, 2013, 5:32 AM
  3. [CLOSED] How to format date yyyy/MM/dd using renderer.fn
    By mis@adphk.com in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 14, 2013, 10:20 AM
  4. Replies: 1
    Last Post: Dec 15, 2011, 12:38 AM
  5. [CLOSED] [1.0] DateField MonthPicker with daterange
    By MP in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 08, 2010, 10:25 PM

Posting Permissions