IdentityManager.AspNetIdentity icon indicating copy to clipboard operation
IdentityManager.AspNetIdentity copied to clipboard

DropDown for ForeingKey

Open ghost opened this issue 9 years ago • 2 comments

I think it would be a nice idea to have a DropDown for the foreing key properties on the user model. For example DepartmentId

ghost avatar Aug 31 '16 15:08 ghost

Any update on this? I've added a ClientID column to the AspNetUser table and need to retrieve data from another table to populate a dropdown control, which would edit and add client ID to the AspNetUser table.

ghost avatar Sep 06 '16 21:09 ghost

I read on another thread that IdentityManager dont have support for this and maybe never have it, in my case i start writing my own manager, but another aproach if you can leave the user to select the field you can use postauthentication on userservice and return a custom view. the after you create the user you can use your own logic to fill the rest of the data. More info here: https://github.com/IdentityManager/IdentityManager.AspNetIdentity/issues/26

ghost avatar Sep 06 '16 21:09 ghost