async image in valuePrepareFunction
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.6k
- Forks
- 867
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
},
```

Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.