Issue with SelectModel plugin overriding original field value

When I use SelectModel plugin like in below example, the customer_id field is overriden with the customer name and I can no longer get the actual customer ID. My getCustomer() relation is failing to get the customer object…

'customer_id' => [
    'selectModel', 'modelClass' => Customer::className(), 
    'valueField' => 'id', 
    'labelField' => 'name',
    'where'=> ['is_active'=>1],
],

How can I still access the customer_id ?

Its described in the guide Build any web thing! — LUYA

Thanks @nadar
Didn’t notice it !

Sure, no problem. This is also the reason why i personally do not recommend to use SelectModel. Use SelectRelationActiveQuery whenever possible