Datetime field is not behaving properly

Certified Associate Developer

Hello All,

 

I recently encountered an issue related to datetime picket control. I'm using an editable grid to show editable fields to users, Other editable components are working fine except a!datetime() control. When user selects a date and loose focus to select time between that instance the value entered for date is getting disappear. However if we select the date second time its not disappearing or if we select time first then also its value remains inside the control. Can someone please tell me why is this happening?

  Discussion posts and replies are publicly visible

Parents
  • Hi Viveku,
    As far as I know date time field executes only when both the values are filled.I can suggest a work around for this as, you can pass now() to the rule input.So that date and time both will get executed in saveInTo.You can also provide some default value so that user can check that .If the user doesn't want anything you can remove the default value.I really don't know how far I described your use case,if you feel this as meaningful you can work on it:)

    Thanks,
    ravalik
Reply
  • Hi Viveku,
    As far as I know date time field executes only when both the values are filled.I can suggest a work around for this as, you can pass now() to the rule input.So that date and time both will get executed in saveInTo.You can also provide some default value so that user can check that .If the user doesn't want anything you can remove the default value.I really don't know how far I described your use case,if you feel this as meaningful you can work on it:)

    Thanks,
    ravalik
Children
No Data