Giter Site home page Giter Site logo

ember-power-timepicker's People

Contributors

ember-tomster avatar ryannerd avatar swelham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ember-power-timepicker's Issues

Time calculation changes

  • init() - Calculated the times[] should use getFormattedTime?
  • getFormattedTime() use the zeroPad function?

Assertion is hit when trying to clear the selected time

The following assertion bubbles up when trying to clear the selected time (hitting the cross) picked in the provided 'Simple Example' from the Readme.md:
Uncaught TypeError: timeString must be a non-empty string.
at Class.hours (time-picker.js:463)
at Class.onchange (time-picker.js:17)
at Backburner.join (backburner.js:576)
at Function.run.join (ember-metal.js:4393)
at action.js:389
at exports.flaggedInstrument (ember-metal.js:3787)
at action.js:388
at Class.select (power-select.js:312)
at Class.send (action_support.js:128)
at Class.superWrapper [as send] (ember-utils.js:437)

The configuration is as follows:
{{time-picker selectedTime=timeSelected onchange=(action "onChange") increment=5 }}

import Controller from '[at]ember/controller';

export default Controller.extend(
{
timeSelected: null,
time: null,

actions:
{
onChange(value)
{
this.set('time', value);
}
}
});

Looking for someone to take over this project

My company is moving from Ember to React and as such I'm not going to have time for side projects.
If you are interested in owning and maintaining this project let me know by posting an issue.
Going forward only security related fixes will be worked on and published.

Missing triggerClass pass-through property

Hi!

First of all, thank you for creating this addon, I just needed a neat and simple timepicker and stumbled upon yours! Works great!

Ember-power-select has a triggerClass property that can be used to apply a class to the trigger only, and it's really useful (for applying let's say a background icon on the trigger).

It would be great to have the ability to do so with your timepicker.

Let me know if you think it's a good idea!

Thank you!

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.