Displaying options base on selected value
1. Virtualmachine is a table with column virtual_machine_id / id
2. terminalVM is a table with a foreignKey of virtual_machine_id (they have one to many relationship) and column name
3. terminal_vm_id column inside trade_profile
This is inside TradeProfileResource form builder
So currently i have successfully display the Virtual Machine name . But i would like to display the VM TERMINAL based on selected Virtual Machine from the table TerminalVM where name is = virtual_machine_id . I've been looking around but couldn't succeed can anyone point me out.

5 Replies
At least this is what i tried out with a help from chatgpt too . I think it is wrong but hopefully u get an idea what i'm trying to achieve
p/s i know chatgpt is not good with filament but i gives me the idea of how to code is written to achieve certain things

Checkout "dependent selects" in the documentation :
https://filamentphp.com/docs/2.x/forms/fields#dependant-selects
Got It , thanks sir @pboivin

got mine worked this way