When creating components I use various properties to distinguish between te variants and to be able to select a specific variant later on. When the value in a property is not supported, for instance a comma, it just throws away all property-values away for that variant. I would opt for a more user-friendly error-handling in this case, because I can hardly imagine that this is desired behavior for anyone. It now is not apparent enough that a mistake has been made and when one discovers it one has to fill all values for that component variant in, which has a negative impact on productivity
My suggestion would be to not throw away other property-values if one of them is faulty, but rather inform the user about it or prevent the user from entering unsupported characters at all.