Dyanamic Drop Down in voyager admin panel

Posted In Voyager
  • gaurav-sharma 11 months 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 11 months 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 11 months 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

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
tnylea
Cheers Friend!

I'm Tony, the creator of this site. I'm trying to increase my twitter following. Want to follow me?

Follow @tnylea If not, no worries :)