This question is related to this one.
By using the tester isStringControl
your renderer will be used for all controls which refer to a type string
. So if you have some type: 'string'
properties in your JSON Schema which are not enums, then their associated schema.enum
will be empty.
You need to make sure to use a tester which actually checks that your renderer is only called for enum properties. See here for an example in JSON Forms.