Karim Bakhsh
files not previewed when form is pre-filled with data
and I am showing the form in a blade file. here is where the form is shown.
The issue is that even the form is filled with the data given to it, it does not preview the attachments. It fill all the other fields through.
2 replies
control modal from blade file
It only opens the modal. But what I want is something different. Plus, the modal currently does not have anything in it, except for some hardcoded lines.
Because there will be multiple items in bill_items, each of them will have an update button. When I click the update button, the editBillItem must be called to so that it pushes that specific item of the array in editData variable. So that I can prefill the form with that.
This is the reason why I would like the modal to be opened while editBillItem function is called.
12 replies
control modal from blade file
coming back to the question
I have created a function that can be accessed in this blade file
I would like this function to open the modal for me, and shows a form inside itself for me with some prefilled data.
12 replies