Why this return a blank string on my template?
{{ selectedVehicle.air_conditioning.replace(true, "Yes") }}
.replace method can't be applied on Boolean variable, it works on string only.
That's why you need to convert it to string then apply replace.
{{ selectedVehicle.air_conditioning.toString().replace(true, "Yes") }}
Hope this could help you. Thanks.
With out more info it is hard to give full help. please update your post with example code, controller etc.
But that said try and have to look at this:
selectedVehicle.air_conditioning, and I don´t think you are using the replace function correctly, try putting thetruevalue in quotes like'true'