Editing select label with pivot values

I have this form in a repeater form:
Forms\Components\Select::make('user_id')
    ->label(__('User'))
    ->relationship('user', 'name')
    ->live(onBlur: true)
    ->disabled(fn($record) => $record?->is_absent)
    ->distinct()
    ->disableOptionsWhenSelectedInSiblingRepeaterItems()

Now I am trying that the text "(absent)" appears after the username if is_absent ==true. I tried it with formatStateUsing and getOptionLabelFromRecordUsing(), but I just can't get it to work because i need the values from the relationship and the current (pivot) record. I am probably doing something stupid, but could someone point me in the right direction?
Was this page helpful?