"config.customOptions.<fieldName>:(<option>)" vs "<fieldName>:(<option>)"

When we are creating an Input in the Visibility/Required fields, we need to insert: <fieldName>:(<option>)

This is doable in two ways:

<fieldName>:(<option>)

or

config.customOptions.<fieldName>:(<option>)

Both are working but the question is which one is preferred and what is the difference?

The original way was the config map but the newer/shorter way is just the fieldName. So, really there is no difference as in the code we look for both so doesn’t matter, either is fine.