Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

faron's avatar
Level 4

Navigation

Stack: Laravel11 + Inertia + Vue3 I want navigation between form and list pages.

For eg. there is a form with 2 input

  • name (simple text input)
  • company (select component: disabled text input + button)

The select component should navigate the user to company list where only one company can be selected. After selection, the process returns to the form with company_id, and preserves other input' state.

I want this method, becouse dropdown can be realy long if there are hundreds or thousends of companies. (Of course the example is not lifelike)

Is there a way to achieve this, and how?

0 likes
5 replies
vincent15000's avatar

If you have several companies and can't display all the companies in the select field, you can use a select field in which you can enter the first letters of the company.

It's like a simple input field, you enter the 2 or 3 first letters and then the select dropdown is displayed with all companies corresponding to the short series of letters.

1 like
faron's avatar
Level 4

@vincent15000 Thank you for the advice. But still not got answer to the question.

1 like
vincent15000's avatar

@faron Your question doesn't appear clearly in your post.

Can you please reformulate it ?

1 like

Please or to participate in this conversation.