async image in valuePrepareFunction
- Langage dominant
- TypeScript
- Étoiles
- 1.6k
- Forks
- 867
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
this i my scenario:
I have a column with image that is get by API.
I load image by async method called in valuePrepareFunction
This doesn't work.
Is this allowed by plugin/valuePrepareFunction ?
Thanks
Alessio
```
coverImage: {
title: 'Logo',
type: 'html',
valuePrepareFunction: async (coverImage) => {
let val = this.getItemImagev2(coverImage).then(
(val) => {
console.log('res ' , val);
return ``;
},
(err) => {
console.log('res err ' , err);
let imageSrc="https://www.ieengsolution.it/wp-content/uploads/2015/08/logo_small.png";
return ``;
}
);
},
filter: false
},
```

Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.