ngx-admin-bundle-support icon indicating copy to clipboard operation
ngx-admin-bundle-support copied to clipboard

.net starter bundle - enter key doesn't work in login page

Open szanellato93 opened this issue 6 years ago • 6 comments

I bought the .net starter pack and enter key doesn't work in login page. In the free version it works perfectly.

szanellato93 avatar Aug 23 '19 15:08 szanellato93

Hi, could you clarify exactly what do you mean by entering key in login page? do you mean password or what?

.NET Starter pack has own authentication integrated with frontend code, when you enter login / password in login page, it does a request to the backend API, where you installed / run it.

You supposed to have backend api up and running (locally for example), with some data base setup in .net configuration file (web.config or appSettings.json for core version).

Please give us more details on that.

valentinkononov avatar Aug 27 '19 08:08 valentinkononov

hello, I mean when I press the enter button after writing user and password in the login form. I don't know why but in the free version work perfectly, but in the .net bundle doesn't work. Probably some event missed in this version. Console have no errors.

Thank you very much in advance for your help.

szanellato93 avatar Aug 27 '19 08:08 szanellato93

Another strange thing is that profile image doesn't appaer in the right corner, unlike free version do:

image

I checked the code, and there is the nb-user component in the header-container.

szanellato93 avatar Aug 27 '19 08:08 szanellato93

I will check about 'enter' button, in fact we moved Login components from nebular to bundle code itself in order to let clients ability to customize it easily. But I just double checked nebular sources - there is no handling of enter click. probably, your cursor was in right place and right time. But good idea anyway, thanks!

about profile image, nb-user component is shown when there is role information inside token. i did some fixes about that pretty recently, so probably you might want to check the updated version soon. Or you can simply remove attribute *ngGranted temporarily

valentinkononov avatar Aug 27 '19 13:08 valentinkononov

The enter key work here, when i press it in the password input: https://akveo.com/ngx-admin/auth/login

it is the submit event.

Thank you for the user component.

szanellato93 avatar Aug 27 '19 14:08 szanellato93

I understand, but the code is the same. I'll double check anyway

valentinkononov avatar Aug 27 '19 14:08 valentinkononov