GithubHelp home page GithubHelp logo

ion-time-picker's People

Contributors

souly1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ptp5833

ion-time-picker's Issues

onSet is not working

onSet is not working on my ionic project, can you please give me example how to use this directive?

hasClear with no effect

I'm trying to add the clear button with the attribute on the HTML but it doesn't show up.

<input type="text" placeholder="" ng-model="StartTime" ion-time-picker hasClear="true">

I've tried with hasClear="true" and hasClear.

Ionic Framework Version: 1.1.1
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3

Is it work for date also?

Hello,

Can you please tell me how to use this picker for date also? if that is not available in this library then suggest me best. I'm ready to buy that also.

Cannot get time picker to select 24h time

HI I purchased your time picker and it works well except for one aspect. I cannot get the time to only use 24H clock. here is the code I am using ...

    <input type="text" class: "rs-right" placeholder="" ng-model="scheduleData.time" ion-time-picker step="15" isWithDaytime = false \>

What is the proper syntax to get the timepicker to force 24H time only? Thanks.

Error: unknown provider - unable to resolve a required dependency [FIXED]

Just tried to implement the ion-time-picker and stumbled upon this error:
Error unknown provider

The time picker works but the error is thrown nonetheless.

Debugging of this problem showed that when the module 'ion-pickers' is defined it makes a try/catch(err) statement.

In my case i noticed that no error was catched hence the following was computed:
pickersModule = angular.module("ion-pickers")

However this is the cause of the error stated above. When trying to run the directive ionTimePicker the $injector throws an error.

I fixed it by adding squared brackets to the module declaration. Running this results in a computation with no errors thrown by Angular. But the time-picker does not react to touch-events indicating that it needs the ion-os-scroller and the hmTouchEvent. Adding these to the module declaration, fixed the problem. Here is the code changed (in a prettified version):

var pickersModule = null; try { pickersModule = angular.module("ion-pickers", ["hmTouchEvents", "ion-os-scroller"]) } catch (err) { pickersModule = angular.module("ion-pickers", ["hmTouchEvents", "ion-os-scroller"]) }

Not sure of the reason for this behavior, but I though that I should let you know ๐Ÿ‘ ๐Ÿ˜„

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.