Hello i have an Angular 12 project and i want to retrieve all results in artisticBehaviour (except those who are NULL or same e.g. Actor, Actor) column in Users table.
ts function that i call all users from Users table.
allArtistsSet() {
this.userData.allArtists(this.offset).pipe(
map((data: any) => {
if (data.success) {
this.allArtists = data.artistsFeed;
this.creativenessArtists = this.allArtists.filter((data) => data.artisticBehaviour != null);
}
})
).subscribe()
}
html
<select style="background-color: #333;color: whitesmoke;padding: 5px;font-size: small; border-radius: 5px;width: 110px;">
<option disabled>Creative Behaviour</option>
<option>Creativeness</option>
<option *ngFor="let creative of creativenessArtists" value="{{creative}}">{{creative}}</option>
</select>