Comments (8)
Haha - sure. I was likely to get to this in about 6-8 weeks, if I'm lucky, so no risk of doing anything which will interfere with the work you're doing on that issue. :)
from typeahead.
I'm going to close this issue in favor of the existing one, if that's ok with you @Webreaper? If you feel anything is not being covered please re-open.
from typeahead.
Hi,
I think you can achieve what you want but you'll need to change your approach a bit. You can't use @bind-Value
with the Typeahead, it's a complex control and the underlying input
isn't directly exposed for you to hook into.
You could add an input into the footer or header template which would allow someone to enter a value and you could apply your onkeyup event there. I am currently working through a bug (#66) which may effect this in the short term, but I'm hoping to have it fixed today.
from typeahead.
Thanks for the quick response! I guess a quick fix could be an enhancement to allow somebody to specify their own callback, which would get wired up into the HandleKeyUp method (here). If I get time I might look at trying that out and if it works submitting a PR.
from typeahead.
If you could hold off doing anything just yet, I appreciate the enthusiasm but we're discussing that option on #55. And I don't want you to do something which then has to be changed or removed.
from typeahead.
Fine with me - makes total sense. Thanks!
from typeahead.
@chrissainty you said you can't use @bind-value on typeahead, but the example code uses it. ??
<BlazoredTypeahead SearchMethod="SearchFilms" @bind-Value="MyFormModel.SelectedFilm">
from typeahead.
@rgamage The comment you're referring to was from before a major update of the control when we didn't use @bind-Value
.
from typeahead.
Related Issues (20)
- [Question] Is there a way to programmatically select multiple items? HOT 1
- [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
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.