JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Scheduler [BUG] current time indicator not updating after addition of currentTime prop

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #108499
    herut yona
    Participant

    when updating the position of the current time indicator the code tries to understand what is the current time using the currentTime prop. as it is set when first loading the component the subsequent updating cycles do not update the position of the time indicator correctly.

    #108500

    Hi,

    Here is an example of the current time indicator updating correctly,
    https://codepen.io/svetoslavb04/pen/oNQJdpa
    There is no such property currentTime.
    Can you explain further and apply a sample code if possible?

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #108501
    herut yona
    Participant

    as described in this post https://www.htmlelements.com/forums/topic/set-custom-current-time/ there is such property. might this be a version issue?

    #108502
    herut yona
    Participant

    i have found this property in the code too and tested it aswell

    #108503

    Hi,

    Sorry for the mistake, yes, there is currentTime property.
    Here I have created a demo with a current time set to some date. You can update the current time with the button and the current time indicator will also update:
    https://easyupload.io/0khp2x

    Download the project and run npm install to install the dependencies.
    After that open index.html and test

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.