Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Input node set for 'datetime picker' with a value passed to the input node breaks the picker #1409

Open
gfinleyg opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do

Comments

@gfinleyg
Copy link

Current Behavior

Inputs to a Text Input node that is set to datetime picker aren't displayed.

Expected Behavior

Passing a valid JavaScript Date number should change the date and time set in the field.

Steps To Reproduce

Attach a function block outputting msg.payload = 1728932496400 to the input of a Text Input node with it's mode set to datetime picker.

Environment

  • Dashboard version: 2.0
  • Node-RED version: v4.0.5
  • Node.js version: v20.18.0
  • npm version: 10.0.9
  • Platform/OS: Linux 5.14.0-430.el9.x86_64 x64 LE
  • Browser: Firefox 131.0.2 (64-bit)

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

@gfinleyg gfinleyg added bug Something isn't working needs-triage Needs looking at to decide what to do labels Oct 17, 2024
@gfinleyg
Copy link
Author

The node's behavior is broken with this setup too, if you try to change any of the date/time fields or select using the calendar, it goes back to a blank value as soon as you mouse-hover over the field again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do
Projects
Status: Backlog
Development

No branches or pull requests

1 participant