appbaseio / appbaseio/reactivesearch

Documentation: How to change DataSearch value from outside?

Open
#1,363 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Affected Projects**
React, but maybe all

**Describe the solution you'd like**
Would it be possible to have an example on how to set DataSearch value from external JS code keeping it uncontrolled (if it's possible) and another one with a DataSearch controlled by App.

**Additional context**
Sometime we have full external script (like get the current calling number/IP from a switch) and pass it as a search value or a filter. This action being link to a button.

By the way, congratulations for this project!

Contributor guide

Open the contributing guide

Research direction

Start with the DataSearch documentation and its React component API. Add examples showing how external JavaScript can set the search value while keeping DataSearch uncontrolled, and how an App can control DataSearch; done when both requested usage patterns are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.