You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Adding [] characters in the string you add to the selectionprompt choices results in an error on invoking the search in the UI:
System.InvalidOperationException: 'Encountered malformed markup tag at position 4.'
To Reproduce
var testprompt = new SelectionPrompt() { SearchEnabled = true }
.Title("Test Search");
testprompt.AddChoice("[[01]] My first item");
testprompt.AddChoice("[[02]] My second item");
var result = _con.Prompt(testprompt);
Run the code and try to type in the search input.
Expected behavior
Search should work without formatting
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered:
Describe the bug
Adding [] characters in the string you add to the selectionprompt choices results in an error on invoking the search in the UI:
System.InvalidOperationException: 'Encountered malformed markup tag at position 4.'
To Reproduce
var testprompt = new SelectionPrompt() { SearchEnabled = true }
.Title("Test Search");
testprompt.AddChoice("[[01]] My first item");
testprompt.AddChoice("[[02]] My second item");
var result = _con.Prompt(testprompt);
Run the code and try to type in the search input.
Expected behavior
Search should work without formatting
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: