Skip to content

multiselect / multisearch helper functions are missing default hint #172

Closed
@ExeQue

Description

@ExeQue

Laravel Prompts Version

0.1.19

Laravel Version

10.48.8

PHP Version

8.2.8

Operating System & Version

WSL w/ Docker Linux 5.15.153

Terminal Application

Windows Terminal

Description

The func_get_args does not include parameters with default values when using the multiselect/multisearch helper function, which causes the $hint parameter to be the default value of `the constructors of the respective classes which is empty.

It only returns the parameters explicitly given in the function call.

Steps To Reproduce

  1. Prompt using the multiselect helper function.
  2. Note the missing default hint

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions