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.

Search is not using updated value

See original GitHub issue

Hello,

The problem appear in every browser usint last grommet update. I use: import Search from 'grommet/components/Search'; <Search defaultValue={searchValue} fill={true} inline={true} placeHolder={searchInputPlaceholder} onDOMChange={searchHandler} /> The searchValue is updated by store or by user input. If the searchValue is updated by store in the UI SearchBar doesn`t update according searchValue.

Search component is contained by Container A.If container A is mounting ,Seach updated the value acording seachValue ,but if Container A just render ,the Seach is not updating the UI.

PS :If I do not use inline={true} it works fine.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gmeanscommented, Feb 23, 2017

@ericsoderberghp I came here due to the same reason. It doesn’t appear to work on the docs examples either.

https://grommet.github.io/docs/search/examples?placeHolder=true&suggestions=true

0reactions
catx7commented, Mar 3, 2017

I will be available in the next grommet release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript input value of search bar not updating
I've created a search bar on my site with the code below. For some reason the value is not updating when the user...
Read more >
Visuals not updating after changing data in power
I want to change that maximum value to 10 using powerquery and have the dashboard automatically update. Note no other countries have values...
Read more >
Outlook Search not showing recent emails after Windows ...
Outlook Search not showing recent emails after Windows update KB5008212 · From Outlook select File, Options, Search. · Select Indexing Options, ...
Read more >
UPDATE | High-level Operations | AQL - ArangoDB
You can use `UPDATE` operations to partially update documents in a collection by adding or updating specific attributes.
Read more >
What creators should know about Google's August 2022 ...
Our systems automatically identify content that seems to have little value, low-added value or is otherwise not particularly helpful to those doing searches...
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