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

Autocomplete issue #5038

Closed
David-Moreira opened this issue Oct 4, 2023 Discussed in #5037 · 1 comment
Closed

Autocomplete issue #5038

David-Moreira opened this issue Oct 4, 2023 Discussed in #5037 · 1 comment
Assignees
Milestone

Comments

@David-Moreira
Copy link
Contributor

Discussed in #5037

Originally posted by RealityMasque October 4, 2023
Hi all,

Is anyone else experiencing the FreeTypingNotFoundTemplate not rendering when Autocomplete.FreeTyping = true & the entered text is not in the data? Here's some sample code to show what I tried:

<h3>AutocompleteTest</h3>

<Autocomplete TItem="string"
              TValue="string"
              Data="@colors"
              Placeholder="Search..."
              Filter="AutocompleteFilter.StartsWith"
              FreeTyping=true
              TextField="@(( item ) => item)"
              ValueField="@(( item ) => item)">
    <FreeTypingNotFoundTemplate>
        freetext not found
    </FreeTypingNotFoundTemplate>
</Autocomplete>

@code {
    private List<string> colors = new List<string>
    {
        "Red",
        "Orange",
        "Yellow",
        "Bright Green",
        "Dark Green",
        "Sky Blue",
        "Blue",
        "Purple",
        "Hot Pink",
        "Black",
        "White",
        "Gray"
    };
}

Thanks,

Orion

@David-Moreira David-Moreira added Type: Possible Bug Needs to investigate more to see if it's an actual bug. Area: Autocomplete labels Oct 4, 2023
@David-Moreira David-Moreira self-assigned this Oct 4, 2023
@David-Moreira David-Moreira added Type: Bug 🐞 Something isn't working Priority: High ⚡ and removed Type: Possible Bug Needs to investigate more to see if it's an actual bug. labels Oct 5, 2023
@David-Moreira
Copy link
Contributor Author

@RealityMasque Reproduced. It's a bug.

@David-Moreira David-Moreira added this to the 1.3 support milestone Oct 5, 2023
@stsrki stsrki closed this as completed Oct 6, 2023
@stsrki stsrki added this to Support Aug 3, 2024
@stsrki stsrki moved this to ✔ Done in Support Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants