Dyanamic Drop Down in voyager admin panel

Posted In Voyager
  • gaurav-sharma 1 year ago
    Hello Team i want to create a dyanamic relationship between three tables.
    
    I have three tables one is bank name , second bank products. and third is bank RM(regional manager).
    
    i made the relationship between bank name and bank products. As shown in the screenshot.
    https://snag.gy/gyYid1.jpg
    
    Now, i made a relationship in the bank RM table. which is relating to the bank product table.
    https://snag.gy/VHBnND.jpg
    
    In the Bank RM Table create view, i need to show a dyanamic dropdown in which when i select a bank name as shown in image https://snag.gy/jKN0u7.jpg
    
    the products associated to that particular bank will show in the next product drop down instead of showing all products from all the banks.
    https://snag.gy/jKN0u7.jpg
    
    Hope i am able to explain my query properly. please help me asap. my life is at stake with it.
    
    Regards
    Gaurav
    
    

    Hello Team i want to create a dyanamic relationship between three tables.

    I have three tables one is bank name , second bank products. and third is bank RM(regional manager).

    i made the relationship between bank name and bank products. As shown in the screenshot. https://snag.gy/gyYid1.jpg

    Now, i made a relationship in the bank RM table. which is relating to the bank product table. https://snag.gy/VHBnND.jpg

    In the Bank RM Table create view, i need to show a dyanamic dropdown in which when i select a bank name as shown in image https://snag.gy/jKN0u7.jpg

    the products associated to that particular bank will show in the next product drop down instead of showing all products from all the banks. https://snag.gy/jKN0u7.jpg

    Hope i am able to explain my query properly. please help me asap. my life is at stake with it.

    Regards Gaurav

  • mark 1 year ago
    Sadly that is not supported in Voyager, so you would have to overwrite the Controllers to add this feature.
    Please note taht we are open for pull requests.
    
    ----------
    Best Regards,    
    Mark Topper (Maintainer of [Laravel Voyager](https://laravelvoyager.com))    
    Mail: [[email protected]](mailto:[email protected])    
    *I am available for freelance work - [hire me](mailto:[email protected])*
    

    Sadly that is not supported in Voyager, so you would have to overwrite the Controllers to add this feature. Please note taht we are open for pull requests.


    Best Regards,
    Mark Topper (Maintainer of Laravel Voyager)
    Mail: [email protected]
    I am available for freelance work - hire me

  • gaurav-sharma 1 year ago
    Hello Mark,
    
    I solved that issue thanks for the help. I overwrite the controller and do some scripting for it.
    
    Cheers

    Hello Mark,

    I solved that issue thanks for the help. I overwrite the controller and do some scripting for it.

    Cheers

  • eldouqe-abderrazak 4 months ago
    Hello gaurav-sharma 
    Are you solved that !!? 
    i have some probeleme
    how i do dynamic dropdown like countries and cities
    when you select a country , the next dropdown show just cities have foreign key contry selected

    Hello gaurav-sharma Are you solved that !!? i have some probeleme how i do dynamic dropdown like countries and cities when you select a country , the next dropdown show just cities have foreign key contry selected

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!