Comments (7)
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.
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.
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:
—
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.
Yes, let's prepare a codepen/plunker/whatever demonstrating your issue and I'll take a look
from ion-datetime-picker.
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.
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.
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)
- Not getting value in controller HOT 7
- Datetime output HOT 1
- Disable Time inputs HOT 1
- How Can I clear Hours and Minute boxes on tap to manually enter time?
- Please example how to use between HOT 1
- Ionic 3 Time Bug (minute == 0) HOT 7
- How to open the date picker at a particular time instead of current time? HOT 1
- There will be an exception in Chinese data-title
- Condition on Date Pickup
- Date and time picker onchange HOT 1
- Ionic 3 : Error : this.input.isFocus is not a function at DatetimePickerDirective.open HOT 1
- problem about reloading the datetime picker HOT 3
- get only time from ion-datetime-picker HOT 2
- "only-valid" is not working in ionic 3 HOT 4
- Not getting Future Date
- All date of a month are shown only on wed
- how to disable weekends, holidays and specified dates at the same time HOT 1
- Date validation not working on version 0.5.2
- Date Picker language change is not detecting automatically
- How to set custom Timezone?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion-datetime-picker.