This might be a bug, I’m not sure. Or maybe it’s just a limitation that needs working around.
If you change the elements on a spinner, the current spinner selection is no longer shown in the spinner - even though the spinner selection stays the same. The text in the spinner box just disappears.
Okay, took a look at this and its not a bug, but maybe enhancement.
The issue is that screen background color is White AND the Spinner text item is also White (below). That’s why you don’t see the selected item because you get white on white. Possibly we should update the default text color to be back
Ah! I’ve just had a play around with this. When you open the app, the colour of the text uses the “spinner colour” setting, but after choosing an item, it changes to white. I can’t find a way to change the text colour of the item that you select from white (I’m trying to get my spinner colour to match button text colour in my app).
It would be great if you could have a spinner colour AND a spinner text colour independently.
I did this but the item you select on the spinner remains white. The “item text colour” just changes the ones in the dropdown menu, not the selected one.
For spinner property, you are setting its element as follows:
Then in blocks editor, as soon as a selection is made, you change its values (see below). You don’t really need to change the elements. Just get rid of that block
The issue here for me is still that the text of the selected spinner item is always showing as white. The spinner dropdown V can be set by changing the spinner colour, but there isn’t an option for “selection text colour”. The “item text colour” only changes the colour of the items in the dropdown when you click the spinner. I want to be able to make the spinner text black, like the rest of the buttons in my app.
As long as you don’t execute set elements or elements from string after first run, spinner works as it should and it is using Spinner Color for both text and the arrow
After you execute set elements it falls back to default theme color (white) and text size (which in my opinion is a bug as it should return black)
Second bug, 2 spinners different colors, if I choose one of them then the other one inherits the color from the first one and vice versa but only on the arrow
Yeah that’s the problem, I do change the spinner elements (if someone changes the region in the app, certain websites don’t work, so I remove/add elements from the spinner dynamically).
I could do this with multiple spinners and changing the visibility of each, but I still think this issue with the colours is something that shouldn’t be there.
Currently I’ll just keep using it with it being the wrong colour until hopefully it gets fixed. Is there a way we can add this to a bug list to be fixed at some point?