I have solr search setup on my drupal8 website. I have a view setup that has two pages in it. I have the search box via an exposed form placed as a block in my header region.
What I want to do is to create a new search form that has different text in the submit button and submits the form to a different page than the search form in the header.
Is there a way through the view or display modes to expose a new template so that I can customize the button and action on the form?
I was able to create a new solr search form by duplicated the "page" in the solr search view. I modified the name and machine name and modified the input-submit.html.twig template to remove the ID from the submit button. I did that because I have a search form in the header region of my website and then adding another form to the page in a Layout Builder with the same id was causing a conflict and chrome was yelling about it. ID's have to be unique after all.
Layout Builder won't let me save the layout though. I had to revert back to the default and then rebuild my page layout in layout builder. I have to add all of the blocks and then I get to save the layout once. I can the form into the page now, but I won't be able to make any changes to the page in the future.
Well, I suppose i can remove the search form, save the layout, go back in and make my changes and then add the search form back to the layout builder. That is not ideal.
Any trick to fix that issue?
Possible Solution, but not ideal
I added the view page block into the Block Layout and restricted to only the page I needed it on. That should work for now, but I would prefer to be able to see all of the content blocks in the Layout Builder.