Comments (9)
No problem :)
from typeahead.
If I add @using Blazored.Typeahead.Forms in _imports.razor the first error disappears but I get the error below instead. I haven't added the EditForm code here. If I do I still get this error.
InvalidOperationException: Object of type 'Blazored.Typeahead.BlazoredTypeahead`1[[Test.Shared.Area, Test.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' does not have a property matching the name 'bind-Value'.
from typeahead.
If you're using the standalone version then you don't need to use the EditForm
component.
I've just pushed a new version this morning which fixes an issue with a razor files being included in the end project. Could you try upgrading and see if it sorts things?
from typeahead.
Yes, I have changed it. The code looks like this:
<BlazoredTypeahead SearchMethod="@SearchAreas"
bind-Value="@SelectedArea"
Placeholder="Search">
<SelectedTemplate Context="Area">
@Area.Name
</SelectedTemplate>
<ResultTemplate Context="Area">
@Area.Name (@Area.Descr)
</ResultTemplate>
@*<NotFoundTemplate>
@if (notFound)
{
@:Sorry, there weren't any search results.
}
</NotFoundTemplate>*@
</BlazoredTypeahead>
from typeahead.
I upgraded to version 3.0.2 and now the first error seems to be gone.
But I get (which is the same as before I guess):
InvalidOperationException: Object of type 'Blazored.Typeahead.BlazoredTypeahead`1[[Test.Shared.Area, Test.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' does not have a property matching the name 'bind-Value'.
from typeahead.
I don't know if it makes a difference but at the same time as I upgraded to version 3.01 I also upgraded to asp.net core 3.0-preview-6.
from typeahead.
Sorry for the long reply @fnils. I'm now doing the upgrade to Preview 6, it should be on NuGet in the next hour. Give it a go and let me know if it sorts the issue.
from typeahead.
Thank you! I'll check it out during the day hopefully. Otherwise tomorrow.
from typeahead.
It's working! Thank you!
from typeahead.
Related Issues (20)
- [Bug] When used in a child component in multiselect mode items not added when selected HOT 1
- Have a OnClose Option for the Dropdown list
- [Question] Are you able to just use strings for Value and date related bindings on the control?
- Two way binding
- Typeahead search text dissapearing from search box after displaying results in v 4.7.0 HOT 14
- [Feature Request] Option to disable deleting items with "Backspace" when using MultiSelect
- Method to Force results dropdown to close?
- how to Enable mutli line
- Laptop touchpad not selecting item in results
- Error in "Using complex types but only binding to a single property" HOT 1
- [Bug] - blazored-typeahead results hides behind the modal-footer
- [Bug] Typeahead inside Blazored.Modal search text erase with .NET 7.0 HOT 3
- [Question] How to Justify Dropdown Content
- [Bug] ArgumentNullException after pressing 'backspace' key
- Clicking typeahead inside MudTable in <MudTd> by MudBlazor not set to Focus
- [Bug] Multiple Pasting of text into the control causes app pool to crash
- WORK PAUSED - PLEASE READ BEFORE POSTING AN ISSUE HOT 1
- how to set category id for Searchmethod HOT 1
- Scroll in dropdown menu
- Request to render as a semantic list, rather than divs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeahead.