Open Closed

Any Angular sample with navigation/refrence property in form? #24


User avatar
1
morindo created

Hi, is there any Angular sample with navigation/reference property in form? I'm pretty new to Angular and NGXS and I don't know how to structure my code. Basically, I just want to add a select/comboxbox in one of my forms and bind-it to the entity reference id. I can see in tenant management (Abp commercial demo) that there is an Edition select/combobox in the form but we don't have access to the code. Sorry for the basic question but I was used to finding my answers myself looking at the code in great ASP.NET Zero.

Also, will we have the possibility to add navigation/reference property in Abp Suite in the future?

Thank you very much,

BTW, abp.io is so slick and fast, bravo guys!


3 Answer(s)
  • User Avatar
    0
    Mehmet created

    Hi,

    Applying the Angular tutorial helps you to understand the structure.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Also, will we have the possibility to add navigation/reference property in Abp Suite in the future?

    Yes. Planned for v2.2.

  • User Avatar
    0
    morindo created

    Thanks @Mehmet for the follow-up. I've already done the tutorial. In the tutorial, the select/combobox is bound to an array, I understand the logic behind. The part I don't understand is how to structure the code using a reference entity instead of an enum/array. Should the BookListComponent be responsible for handling all reference entities or do I need to create a new NGSX store for all reference entities. Like I said, sorry the basic question, I guess I need to learn more about Angular and NGSX fundamentals.

    Thanks @yekalkan.

    Cheers,

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11