async image in valuePrepareFunction
- Lingua principale
- TypeScript
- Stelle
- 1.6k
- Fork
- 867
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
},
```

Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.