Static property state does not persist
I don't know if this is a general PHP thing or has got to do with the way Filament works or I'm doing something wrong but somehow the state doesn't persist.
I'm setting a static property in the
What is happening here? What can I do to save data between the functions or am I doing something completely wrong conceptually. Thanks in advance!
I'm setting a static property in the
getSearchResultsUsing() function and afterwards retrieve that property in the afterStateUpdated() function but it errors with the message "must not be accessed before initialization".What is happening here? What can I do to save data between the functions or am I doing something completely wrong conceptually. Thanks in advance!