That solves the issue or using only elements present in those 2 lists.
Leafref’s also generate help on typing tab/? to ease user to select elements from list. But replacing it with “must” is not generating. Is there a way to generate possible-completions to user still using “must” or other way?