Comments (15)
I confirm this issue. The reason may be in the overridden $setViewValue
method, because it causing re-update datepicker
controller.$setViewValue = function () {
if ( !settingValue ) {
settingValue = true;
element.datepicker("setDate", element.datepicker("getDate")); //if delete this line, nothing changes, but bug disappears
_$setViewValue.call(controller, element.datepicker("getDate"));
$timeout(function() {settingValue = false;});
}
};
from ui-date.
This is a pain and keeps coming back to bite us. Trouble is if you fix it
for one browser it breaks on another. I am sad to say we might need to put
some IE specific code in there
On 7 May 2013 15:49, Boris [email protected] wrote:
I confirm this issue. The reason may be in the overridden $setViewValuemethod, because it causing re-update datepicker
controller.$setViewValue = function () { if ( !settingValue ) { settingValue = true; element.datepicker("setDate", element.datepicker("getDate")); //if delete this line, nothing changes, but bug disappears _$setViewValue.call(controller, element.datepicker("getDate")); $timeout(function() {settingValue = false;}); } };
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-17546918
.
from ui-date.
I'm not able to reproduce this on Windows 8 + IE10 - is there any other information on this?
from ui-date.
Just experienced this in IE11/Win7 over here
from ui-date.
We're also having this issue. It would be great to have a fix as our users often prefer to type dates.
from ui-date.
Any updates on this?
from ui-date.
Sorry I don't have IE10 installed on my machines and just requested a login to modern.ie. @JaKXz can you please give your IE and windows versions and create a small jsbin that has this issue for you as this will help in debugging. PRs are also welcome.
from ui-date.
Works fine for me on IE11/Win7
from ui-date.
This is happening for me in IE11/Win7 as well
from ui-date.
@smithdalec any specific version of ie11? I don't have ie11 yet so my comment before still applies here that a reproduction somewhere would really help and then I can check against a modern.ie vm.
from ui-date.
Same issue, all browser ok, but IE 11 fail (Version 11.0.9600.18124).
from ui-date.
What is the purpose of line 123 in src/date.js??. Removing this work fine and solve the issue.
from ui-date.
@marcelino-m Thanks for digging into that, I believe someone had an issue earlier with the input not focusing after close. If it is sufficient to remove it to fix ie11, we can look at taking it out.
from ui-date.
@marcelino-m & @alexanderchan we faced this issue today and removed the statement $element.focus();
.. works fine on IE, chrome and FF..
from ui-date.
@olakara thanks for the feedback, the problem is that removing focus will make tabbing between fields stop working. I don't have an easy way off the top of my head to fix both so if anyone has ideas that's great.
I think we will have to remove the focus as suggested though because it is not easy to override this behaviour and if people need to focus they can enhance the onClose option.
from ui-date.
Related Issues (20)
- model value not bind with datepicker HOT 9
- Cannot set property 'uiDateValidator' of undefined HOT 2
- Empty value is invalid even though it is not required HOT 1
- ng-required="false" triggers uiDateValidator error HOT 1
- Using with MongoDB HOT 3
- Initial state of a ui-date control is dirty (ng-dirty) causing the form state to be dirty as well HOT 6
- How to set Minimum Date and Maximum Date in this ui-date Datepicker HOT 1
- Version 1.0.0 does not have updated dist HOT 3
- npm says there is a 1.0.1 version, but there is not 1.0.1 tag in github. HOT 1
- why nexxa in changelog.md?
- Need a Angular- UI Date picker where we can select Month and Year in the dropdown. HOT 2
- ignoreReadonly() HOT 1
- Can't resovle module ''jquery-ui/datepicker" HOT 5
- Hitting enter on bad string doesn't update it to a real date
- Changelog indicates a 1.1.1 version but there is not 1.1.1 tag in github.
- Date Format without Time
- ui-date datepicker does not scroll with modal when kept inside it HOT 1
- can not working with ngdialog
- Latest version 1.1.1 changes not "released" for bower
- refresh datepicker
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 ui-date.