Anchor with Link input type

We have a lot of Repeater blocks that use Link as one of fields. Is there a simple way to define link to a resource with anchor? User types either resource ID or part of it’s name and link field shows that resource. But there is no way to add an anchor. Result should be:

[[~123]]#anchorname

As a workaround for simple Link content block, one can add field setting “Anchor” that is used in template like this:

href="[[+link]][[+anchor:prepend=`#`]]"

But inside Repeater, fields don’t have their own settings. The only way seems to add separate field for anchor, which is little messy.