Announcement

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

    date item endDate

    SC Version: 04-23 8.2p build

    Run the sample. I have two dates, the first one having end date of 1/1/2025, and the other 1/1/2019 . Whatever the first date setting is, that is what's used in ALL the date pickers in the page. I want to be able to set this property per element.

    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)", endDate:"1/1/2025"},
      {name:"directInputDate2", title:"Direct Input Date", type:"date", useTextField:true, change:"dateLabel.setContents(value)", endDate:"1/1/2019"}    ]
    });

    #2
    Have you tried useSharedPicker: false?

    Comment


      #3
      Ah, thanks - this solves my problem. But I'm curious, why is it true by default?

      Comment


        #4
        It's true by default because in most cases it's slightly more efficient to reuse a single picker than building a new one for each date item on the page.

        We'll be making a change in the framework such that this setting isn't necessary to get end date to work - should be part of the 8.3 final. For now the explicit setting should work fine for you and not introduce any ill effects.

        Comment


          #5
          Thanks for the report - we've fixed this in 8.2p and 8.3d.

          Comment

          Working...
          X