question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A new prop for `searchText`?

See original GitHub issue

I need a way to query options based on what searchText currently is. As the user is typing.

Can we use the DOM input element value?

Do we need a new prop to bind?

What are your thoughts on this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
frederikhorscommented, Feb 19, 2022

Yeah. You’re right. Not something to debounce in SMS.

0reactions
janoshcommented, Feb 19, 2022

I think in that case it makes more sense to debounce your requests rather than the prop, no?

I’m a bit worried about UX suffering from it being less snappy for devs not doing server requests with it (which I assume would be the majority).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Initial Search Prop · Issue #725 · mbrn/material-table - GitHub
Is it possible to specify a default search text as a prop? So far I have tried overriding the MTableToolbar component with a...
Read more >
How to pass props to another component in React?
I would recommend a refactor. Move your data and search logic up a level to the parent and pass as props to the...
Read more >
The AutocompleteInput Component - React-admin - Marmelab
To allow users to add new options, pass a React element as the create prop. <AutocompleteInput> will then render a menu item at...
Read more >
BOB, the Tree and Prop Replacer 0.9.7 - Steam Community
A tool to manage trees and props, including: Replacement with other trees/props;; Hiding (removing);; Changing their position;; Changing their rotation (angle); ...
Read more >
Autocomplete component - Vuetify
Sometimes you need to load data externally based upon a search query. Use the search-input prop with the .sync modifier when using the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found