Dropdown Dynamic - Boolean Showing Other Than (Yes or No)

Hi guys! I’ve got a boolean attribute whose  mission is to star /unstar messages with a star icon (true/false). I’ve already implemented a dropdown-dynamic that filters them by “starred/unstarred”. This dropdown shows “yes/no” on the list of options. Wondering if it’d be possible to change the names. To show “Starred”, instead of “yes” and “Unstarred” instead of “no”. Thanks!
1 answers

You cannot change the name of boolean values. The easiest way would be to use an enumeration attribute instead of boolean. Or you can use HTML snippet and use some javascript/jquery combination to display the names that you want instead of Yes and No.