JavaScript keepass and angularjs : login form doesn't trigger validation

I'm developping an angularjs (v1.2.26) application. And I used KeePass (v2.28), chromeIPass 2.6.8 (google chrome extension) to fill credentials.

I got an issue with the login form: Keepass allow to auto complete (mandatory) username and password fields.

In this case, angularjs dosn't detect the value and consider the form as invalid (I can't connect). enter image description here

I try a little workaround under but this seems not work each time. Any idea on how to solve this ?


workaround used in ng-controller (doesn't work each time):

$scope.focusLogin = function() {
  // try to avoid 'form invalid' state when browser auto-complete form fields
  $('#LoginView_Password').focus();
  $('#LoginView_Password').change();
  $('#LoginView_Password').focus();
  $('#LoginView_Username').focus();
  $('#LoginView_Username').change();
  $('#LoginView_Username').focus();
};
setTimeout($scope.focusLogin, 500);
Answer:1

Can I load jQuery migrate via RequireJS? I don't understand how the timing can be handled correctly. See this example: require([ 'jquery', 'jqmigrate' ], function ($) { if ($.browser.msie) {...}...

Can I load jQuery migrate via RequireJS? I don't understand how the timing can be handled correctly. See this example: require([ 'jquery', 'jqmigrate' ], function ($) { if ($.browser.msie) {...}...

  1. jquery migrate load

Does JWPlayer support the file source from soundcloud? <script type="text/javascript" language="javascript"> jwplayer("mainplayer").setup({ playlist: [{ ...

Does JWPlayer support the file source from soundcloud? <script type="text/javascript" language="javascript"> jwplayer("mainplayer").setup({ playlist: [{ ...

I'm using passy's angular-masonry directives to render tiled elements in my app. Unlike a lot of the masonry examples, my bricks don't include images, just static text and layout content rendered ...

I'm using passy's angular-masonry directives to render tiled elements in my app. Unlike a lot of the masonry examples, my bricks don't include images, just static text and layout content rendered ...

Im using datatables and I came across for a self requirements where I want a live table data and I use datatables for this requirements, however Im having an issue when displaying the pulled data from ...

Im using datatables and I came across for a self requirements where I want a live table data and I use datatables for this requirements, however Im having an issue when displaying the pulled data from ...

  1. datatables live records add edit delete