Code Monkey home page Code Monkey logo

Comments (8)

Webreaper avatar Webreaper commented on May 24, 2024 2

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.

chrissainty avatar chrissainty commented on May 24, 2024 1

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.

chrissainty avatar chrissainty commented on May 24, 2024

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.

Webreaper avatar Webreaper commented on May 24, 2024

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.

chrissainty avatar chrissainty commented on May 24, 2024

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.

Webreaper avatar Webreaper commented on May 24, 2024

Fine with me - makes total sense. Thanks!

from typeahead.

rgamage avatar rgamage commented on May 24, 2024

@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.

chrissainty avatar chrissainty commented on May 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.