Wish CustomView: #DesignerProperty DefaultValue should allow a comma in quoted text

Widget

Well-Known Member
Licensed User
Longtime User
When designing a custom view, I sometimes need to add a comma delimited string for DefaultValue in the #DesignerProperty line. Example: DefaultValue: "0xFF808080,0xFF000000,0xFFFFFFFF". But the designer will show only the first item "0xFF808080 and discards the rest.

I should be able to put the string in quotes and have the entire quoted string be accepted as the DefaultValue (but not including the quotes). In other words, the Designer should show 0xFF808080,0xFF000000,0xFFFFFFFF as the default value without the enclosing quotes.

For a workaround I have to replace the "," with a ";" so I have
DefaultValue: 0xFF808080;0xFF000000;0xFFFFFFFF​

I may not always remember to do this and no error is given if I accidentally enter a comma.

I'm not sure why the rest of the properties can't have quotes around them, like DisplayName: "FirstColor,LastColor" or List: "NORMAL|BOLD|BOLD,ITALIC|ITALIC" or Description: "First Name, Last Name"

TIA
 
Top