Steps to reproduce:
1. Give an item with a custom component. Any component at all seems to do the trick. Great example for an item to use, which I used in the video, is Gold Ingot.
2. Attempt to use it in a recipe, like to produce nuggets. It should work fine.
3. Now, do step 1 again but this time attempt to click the gold nugget recipe in the book. It is highlighted white as if you have the required materials, yet it will not be used in the recipe autocomplete.
I have included a 30 second clip visually detailing the issue at the link below.
Linked issues
Comments

Thank you for your report!
We're actually already tracking this issue in MC-129057, so this ticket is being resolved and linked as a duplicate.
However, that ticket has been resolved as working as intended, which means that this will not be fixed as it is not considered a bug.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📗 Tracker Guidelines | 🛠 Community Support | 📧 Mojang Support | 🔑 Account Support | ✍️ Feedback Discord