textinput relationship
hello everyone, i would just like to ask how would you add rules to a text input field where the field is a column from a table where the resource model has a relationship?
2 Replies
It should be same as without relation data, but why you want TextInput to save relationship data?
welp i created a discount model and i also created a codes model where they had a relationship where discount hasmany codes. the code is a string, in a different table. and i created a form where the code is with the other details of the discount.