Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Date Display Format no longer works

    displayFormat property no longer works. I've tried built-in as well as function and when I have a function it does not seem to be called anymore. Please take a look ASAP. Thanks.

    Tried 06-17,and 06-20 build

    Code:
    isc.DynamicForm.create({
        ID: "dateForm",
        numCols: 4,    
        width: 600,
        fields: [
            {name:"directInputDate", title:"Direct Input Date", type:"date", useTextField:true, change:"dateLabel.setContents(value)", displayFormat:"toJapanShortDate"}
        ]
    });

    #2
    Thanks for the simple test case -- field.displayFormat has been deprecated in favor of field.dateFormatter - but should have continued to work so as to not break backwards compatibility.
    This was indeed broken and has been fixed. Check the next nightly build and let us know if you continue to see the problem

    Regards
    Isomorphic Software

    Comment


      #3
      Ok. So technically, we should be using dateFormatter property? I will just change to that and see if it works. Thanks

      Comment


        #4
        Confirmed works with dateFormatter set instead of displayFormat.

        Comment

        Working...
        X