Limit the custom field values autocompleter, like the others

Default to 10 options, as the other autocompleters do.

Fixes: I#30190
Merge branch '4.2/cfv-autocomplete-limit' into 4.2-trunk