Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    27
    Vote Rating
    0
    oxygen is on a distinguished road

      0  

    Default Can not set default value for datepickerfield by Architect 3.X

    Can not set default value for datepickerfield by Architect 3.X


    Can not set default value for by Architect 3.X


    I want set new Date() to datepickerfield's value by Architect 3.X, But i cannot do that.

    The Architect auto create code such as value: 'new Date()', not value: new Date().

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,305
    Vote Rating
    106
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    Use processConfig:

    Selection_071.png

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Mar 2008
    Posts
    27
    Vote Rating
    0
    oxygen is on a distinguished road

      0  

    Default Thank you.

    Thank you.


    We can add initialize function to do that. It's more operation than set the value of config directly.
    I hope the Architect tools let the work easier

Thread Participants: 1

Tags for this Thread