If i start typing '1' and options returned are: [{name: "Option 1", value: 1}, {name: "Option 2", value: 2}], when the menu is built the same key is used for the 'Add 1?' and 'Option 1'. This results in the results never showing 'Option 1'.
Hence I think there should probably be a check to ensure the 'Add xxx?' doesn't appear when there is an exact match. What do you think?
If i start typing '1' and options returned are: [{name: "Option 1", value: 1}, {name: "Option 2", value: 2}], when the menu is built the same key is used for the 'Add 1?' and 'Option 1'. This results in the results never showing 'Option 1'.
Hence I think there should probably be a check to ensure the 'Add xxx?' doesn't appear when there is an exact match. What do you think?