Search box: Updating page elemens directly VS creating page with results

I am asked to create a search function within a portal/dashboard.

There are two options that I have in mind.

  1. Search box gives some options while searching but when clicking on search it gives a separate page with results.

enter image description here

  1. Search box automatically updates the content within the page.

enter image description here

The second option is working out to be much simpler. I am wondering if this is a pattern, that for any reason I can't see now, we should not use or what I have to take into consideration.

e.g. I believe it needs to be very clear when the page shows only part of the content due to an active search.

Is this clear?