My apologies and thanks in advance - there must be something small wrong, but I couldn’t find the error since days. I’m using a dropdown menu that links to pages. Everything works fine, -but- the dropdown fields remain blank/white (even if they direct me to the correct page).
a) I deleted all dropdown options the dropdown came with to avoid any problems
b) I then gave this “vanilla button” the code below.
$w.onReady(function () {
$w("#userProfileDropdown").options = [
{ "Label": "Open", "value": "userprofiledata/{ID}" },
{ "Label": "Edit", "value": "edit-user-profile" }, ];
});
export function userProfileDropdown_change(event){
let page = event.target.value;
let path = "/" + page;
wixLocation.to(path);
}
I also changed the dropdown button to a standardized layout…also tried to change background to grey. Still, couldn’t spot any text.
Sorry, I know I’ve been recently taking more from that community than giving. That’ll definitely change the more I improve.
Kind regards,
Constantin