Code Monkey home page Code Monkey logo

Comments (15)

 avatar commented on June 11, 2024 1

Thanks for your request, I'll chat with @knolleary and @dceejay and see if it's something we can sort.

from node-red-dashboard.

nerobot avatar nerobot commented on June 11, 2024

A time picker would be great. Would make this the only usable HA system with a time-picker that I can find!

from node-red-dashboard.

natcl avatar natcl commented on June 11, 2024

There is an official date picker as part of the Angular Material widgets, why not use that one ?
https://material.angularjs.org/latest/demo/datepicker

from node-red-dashboard.

 avatar commented on June 11, 2024

doesn't seem to have time options too

from node-red-dashboard.

natcl avatar natcl commented on June 11, 2024

ah true the time pickers are nice

from node-red-dashboard.

fab33 avatar fab33 commented on June 11, 2024

Yes the official one doesn't have time picker

from node-red-dashboard.

dceejay avatar dceejay commented on June 11, 2024

The material one is OK - but the thing holding this up is how to expose all the possible locale options - (or rather how to subset the useful ones
https://material.angularjs.org/latest/api/service/$mdDateLocaleProvider
and then how/where to expose them.

from node-red-dashboard.

fab33 avatar fab33 commented on June 11, 2024

With a config node ?

from node-red-dashboard.

dceejay avatar dceejay commented on June 11, 2024

prototype now in master (not yet on npm)

from node-red-dashboard.

fab33 avatar fab33 commented on June 11, 2024

You close this issue but is there time picker in the new widget ?

from node-red-dashboard.

dceejay avatar dceejay commented on June 11, 2024

ah - no - just a date picker. There is no built-in time picker in angular material.
not sure how to half close an issue :-) Maybe leave this closed and open a new time only one.
Happy to consider pull requests of course.

from node-red-dashboard.

industrialinternet avatar industrialinternet commented on June 11, 2024

Fabb33 you can use a the standard HTML input time selector
for hours : mins
use step="1" property for hours : mins: seconds
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_time
I will have a go at creating a template widget as I need a time selector

from node-red-dashboard.

blechdom avatar blechdom commented on June 11, 2024

https://www.npmjs.com/package/angular-material-time-picker

from node-red-dashboard.

WombatHollow avatar WombatHollow commented on June 11, 2024

IS there any guides on how to implment Angular material like TIme Picker into a Node_Red UI otr how to use the ui_text_input nodes Time Picker. Node Red is silent on this function in the Nodes help.

from node-red-dashboard.

dceejay avatar dceejay commented on June 11, 2024

the text-input widget can be set to time picker mode - this just uses the default html5 time picker that is implemented by your particular browser.

from node-red-dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.