Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception trying to filter Select prompt + some general questions #59

Closed
ividyon opened this issue Sep 13, 2023 · 4 comments
Closed

Exception trying to filter Select prompt + some general questions #59

ividyon opened this issue Sep 13, 2023 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request HotFix
Milestone

Comments

@ividyon
Copy link
Contributor

ividyon commented Sep 13, 2023

Hi,

I'm still continuing with my usage of PromptPlus, and continuing to stumble on new issues. I assume I am doing something wrong.

The code can be found here.

When I press any key, the Select seems to enter a "filter" mode. However, if I enter a string which does not exist in the options, I get the following exception:

2023-09-13_19-11-57__WindowsTerminal

  1. How to resolve that error? Did I misconfigure something or is it a bug?
  2. Can I disable the filter function? It's not needed in this case.
  3. Can I disable other display functions, such as the "Choose an option:" prompt? The color highlighting of the selected option in the list is enough for me.
@FRACerqueira FRACerqueira self-assigned this Sep 13, 2023
@FRACerqueira FRACerqueira added Investigate bug Something isn't working enhancement New feature or request HotFix and removed Investigate labels Sep 13, 2023
@FRACerqueira FRACerqueira removed the enhancement New feature or request label Sep 14, 2023
@FRACerqueira FRACerqueira added this to the V4.0.5 milestone Sep 14, 2023
@FRACerqueira
Copy link
Owner

Hi,

  1. How to resolve that error? Did I misconfigure something or is it a bug?
    A: Yes, fixed on commit f5bf26f (Roadmap confirmed for version 4.0.5)

  2. Can I disable the filter function? It's not needed in this case.
    A: No, but I created a new issue for it (Roadmap planned for version 4.0.6)

  3. Can I disable other display functions, such as the "Choose an option:" prompt?
    A: No, but I created a new issue for it (Roadmap planned for version 4.0.6)

@FRACerqueira
Copy link
Owner

FRACerqueira commented Sep 14, 2023

@ividyon , good news!

Updating:

How to resolve that error? Did I misconfigure something or is it a bug?
A: Yes, fixed on commit f5bf26f (Roadmap confirmed for version 4.0.5)

Can I disable the filter function? It's not needed in this case.
A: No, but fixed enhancement #60 (f67ba36) (Roadmap confirmed for version 4.0.5)

Can I disable other display functions, such as the "Choose an option:" prompt?
A: No, but fixed enhancement #61 (f67ba36) (Roadmap confirmed for version 4.0.5)

Scheduled publication date to version 4.0.5 is 09/15/2023 or 09/16/2023

@FRACerqueira
Copy link
Owner

@ividyon

I just published a new release (v4.0.5).

I created a new project in the 'Template/PromptPlusTemplate' folder.

This template, in addition to suggesting an implementation model, demonstrates the new properties that were created and some key configuration concepts (global and per control).

This example should resolve all items in your issue.

@ividyon
Copy link
Contributor Author

ividyon commented Sep 15, 2023

Thank you for your swift work! I'll try it all out soon.

@ividyon ividyon closed this as completed Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request HotFix
Projects
None yet
Development

No branches or pull requests

2 participants