Coder Social home page Coder Social logo

Comments (7)

katemihalikova avatar katemihalikova commented on July 29, 2024 1

I sure hope you know that the task is easy and you should be supposed to find the answer yourself, right? :)

You can use $scope.DOB.toISOString() in your $scope.register method to get an ISO datetime string usable on server.

As i told you before, you just can't use two different directives using ng-model on one element.

<div ion-datetime-picker date ng-model="DOB">Date of birth: {{DOB| date: 'yyyy MM-dd'}}</div>

from ion-datetime-picker.

katemihalikova avatar katemihalikova commented on July 29, 2024

Hi Jeremias,

it is not supposed to be working with an input field. You can't mix two different directives that are using ng-model. Please see #21 for a workaround.

from ion-datetime-picker.

jeremiasgoh avatar jeremiasgoh commented on July 29, 2024

can you help me with a working example? I cant find anything in the other
thread

On Tue, Jun 28, 2016 at 6:21 PM, Kate Miháliková [email protected]
wrote:

Closed #45
#45.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ARMTFjUekomUwJt8jxixlYvTAdcGDwyaks5qQPWXgaJpZM4I_8To
.

from ion-datetime-picker.

katemihalikova avatar katemihalikova commented on July 29, 2024

Yes, let's prepare a codepen/plunker/whatever demonstrating your issue and I'll take a look

from ion-datetime-picker.

jeremiasgoh avatar jeremiasgoh commented on July 29, 2024

Not sure, how I can illustrate clearly with regards to the issue
specifically but most importantly, I want to submit the input from that
amazing date picker you made, (-----> value="{{DOB| date: 'yyyy MM-dd'}}
<---- ) as a text, to my controller, to the backend for
processing. Here is the codepen,

https://codepen.io/Zaperano/pen/xOqJYb

I appreciate your help as it for a school project. Thank you!

On Tue, Jun 28, 2016 at 11:41 PM, Kate Miháliková [email protected]
wrote:

Yes, let's prepare a codepen/plunker/whatever demonstrating your issue and
I'll take a look


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ARMTFvB5yHC4uCO4umuaDjv6pt-SJwpDks5qQUCVgaJpZM4I_8To
.

from ion-datetime-picker.

jeremiasgoh avatar jeremiasgoh commented on July 29, 2024

Not sure, how I can illustrate clearly with regards to the issue
specifically but most importantly, I want to submit the input from that
amazing date picker you made, (-----> value="{{DOB| date: 'yyyy MM-dd'}}
<---- ) as a text, to my controller, to the backend for
processing. Here is the codepen,

https://codepen.io/Zaperano/pen/xOqJYb

I appreciate your help as it for a school project. Thank you!

On Wed, Jun 29, 2016 at 11:37 AM, Jeremias Goh [email protected]
wrote:

Not sure, how I can illustrate clearly with regards to the issue
specifically but most importantly, I want to submit the input from that
amazing date picker you made, (-----> value="{{DOB| date: 'yyyy MM-dd'}}
<---- ) as a text, to my controller, to the backend for
processing. Here is the codepen,

https://codepen.io/Zaperano/pen/xOqJYb

I appreciate your help as it for a school project. Thank you!

On Tue, Jun 28, 2016 at 11:41 PM, Kate Miháliková <
[email protected]> wrote:

Yes, let's prepare a codepen/plunker/whatever demonstrating your issue
and I'll take a look


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ARMTFvB5yHC4uCO4umuaDjv6pt-SJwpDks5qQUCVgaJpZM4I_8To
.

from ion-datetime-picker.

jeremiasgoh avatar jeremiasgoh commented on July 29, 2024

hi Kate,
Thank you :)

On Thu, Jun 30, 2016 at 1:10 PM, Kate Miháliková [email protected]
wrote:

I sure hope you know that the task is easy and you should be supposed to
find the answer yourself, right? :)

You can use $scope.DOB.toISOString() in your $scope.register method to
get an ISO datetime string usable on server.

As i told you before, you just can't use two different directives using
ng-model on one element.

Date of birth: {{DOB| date: 'yyyy MM-dd'}}


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ARMTFu5TC5dcqInfO0RwfNV8AQmtcR0Dks5qQ0_MgaJpZM4I_8To
.

from ion-datetime-picker.

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.