Persist modal text field data after close the modal.
Here I have to change the status from from and If I change the status then a modal is open and ask for description. I want to show that description in my form somewhere after modal close.
How to do that in filament ?
Solution:Jump to solution
placeholder doesn't have a state.. I think you could add an attribute in the EditPage and use it to set the value
...
8 Replies
Could you share some code that you are using?
where would you like to show the description?
@Leandro Ferreira
Let's say I set status decline then I have to add description (reason) for that. But the description is fill on the modal, after modal colse I have show that description on the form placeholder
maybe this?
Ya I also think about this but it will more reliable if we able to get the current notes from the form components it self rather than fetching from DB
Solution
placeholder doesn't have a state.. I think you could add an attribute in the EditPage and use it to set the value
@Leandro Ferreira It works Thank you!