Comments (2)
Well...
The only solution I could think of is that the wrapper should parse the input first.
This feature is missing.
But maybe there is an easier option.
Did you find any solution? I am not actively developing this wrapper anymore.
from angular-eonasdan-datetimepicker.
In order to achieve this a few things need to be done.
-
Use the following options for the date time picker
keepInvalid: true, useStrict: true
Options Reference
Example Fiddle -
With those settings applied, entering such a type of data, the current version of the library goes into a infinite digest loop, and bogs down the page without resolving it properly. (caused by not checking if the moment objects are valid). This should be fixed in my fork, and I am working to submit a pull request.
from angular-eonasdan-datetimepicker.
Related Issues (20)
- Does not set the value at all HOT 2
- How to disable triggering the picker on span click HOT 3
- form is loaded in $dirty state when used with moment object HOT 10
- Set time
- Deprecation warning: value provided is not in a recognized RFC2822 or ISO format HOT 2
- ngMessages not working with datetimepicker HOT 1
- Support for jQuery 3 in dependencies HOT 3
- How to configure global datetimepicker options like in diosney version HOT 2
- Cannot read property 'length' of undefined HOT 2
- i m use this datetime picker i face this issue . HOT 1
- Not Compatible with MomentJS 2.9+ HOT 1
- Problem when used in dynamically loaded templates HOT 1
- Inline doesn't stay open HOT 2
- How to close the datetimepicker after selection of time HOT 1
- Support for Angular 6 HOT 1
- Setting date-only value from controller makes datetimepicker to display one day before HOT 3
- Setting minDate in erasing default/initial value (AngularJS)
- ng-change triggers when picker is opened first time (just open not change) (AngularJS) HOT 1
- plnkr 's not working anymore HOT 1
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 angular-eonasdan-datetimepicker.