is it possible for a TextInput to get value from another table?

Tagihan => Invoice Jumlah => Amount i want to get the amount from the invoice based on the selected Invoice, is there a way?
No description
No description
2 Replies
Kidasu X Stream
Kidasu X Stream2mo ago
changed it to select there is an option for the amount but it's not just from the selected invoice, the amount from another invoice also showed up
No description
toeknee
toeknee2mo ago
Are invoice and amount on different tables/relationships? If not, if they are one row of the same then do a group?
Group::make('invoice')->schema([TextInputs here])->relationship('tagihan')
Group::make('invoice')->schema([TextInputs here])->relationship('tagihan')
Want results from more Discord servers?
Add your server