Get current value of SelectConstraint
Hello,
I want to do some filters in my table but I'm having trouble getting current value of my select.
Here is my code:
My table competences has this fields: id, technologie_id, candidat_id, annee
Thank you in advance for yours responses !
4 Replies
Hello ?
And what is the problem?
Doesn't
$get("competences"))
contain the correct value?Typed property Filament\Forms\Components\Component::$container must not be accessed before initializationNo I have this error
Ok. so $get isn't working on this function. Maybe you can't use relationship method here. Isn't it weird to use
options
and relationship
at the same time? I haven't used SelectConstraint yet, maybe you have to use the getSearchResultsUsing
and getOptionLabelsUsing