Closed oaldrian closed 2 years ago
@David-Moreira, you're the maker of this feature. Do you think it looks good?
Hello, Can you help understand the difference in this example in comparison to our examples that might not have helped you enough? I dont' get the difference, can you explain please?
The https://blazorise.com/docs/extensions/autocomplete
StateHasChanged
so blazor re-calculates stuff.I will provide an implementation example 👍
Oh my, oh my
Epic facepalm on my side.
I had loaded the data for the Autocomplete after setting the text and the value. Ofc the value could not be set, but only the text, and trying to set the value, reset the text.
Sorry for bothering you!
Haha happens to the best of us. Just let us know if you need anything Blazorise related. Happy coding. :)
Is your feature request related to a problem? Please describe.
Documentation update - Autocomplete
Describe the solution you'd like Add an example of how to use Autocomplete component with a text / value that is set in oninitasync, different to the one with multiselect.
Additional context
I just spent like an hour figuring out how to set a predefined value to the Autocomplete component.
I know I can set TValue to Guid (tried that too with all non working combinations above), but I got it running now, so I don't want to mess with it currently