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.

Searching and value selection

See original GitHub issue

I have two questions for integration into my app.

1. Searching

How can I make search case-insesitive? I have mostly custom label option setup which sets my label like

    formatLabel (val) {
      if (this.customLabel) {
        return obsKeysToString(val, this.customLabel, ' - ')
      } else {
        return val[this.label]
      }
    }

In this case I can add multiple keys from options object to display as a label. Works perectly, but search only works on the key I pass trough label prop and it’s case-sensitive…

2. Value selection

When I select an option it returns me entire selected object from options. Is there a way to return a specific key - value from this selected object?

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
shentaocommented, Sep 22, 2016

I will try to release the case-insensitive version today as it’s already done. Just need to bundle and publish it.

1reaction
NaturalDevCRcommented, Aug 30, 2021

So sad this was abandonned

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find and select cells that meet specific conditions
On the Home tab, click Find & Select > Go To (in the Editing group). Keyboard shortcut: Press CTRL+G. Click Special.
Read more >
How to search/find and replace values in selection or selected ...
You can search or find and replace values in selection with Excel build-in feature. Please do as follows. 1. Select the range or...
Read more >
Searching and selecting an option value in a HTML select ...
I need your help. I am a newbie to javascript and I am unsure as to how I would go about searching for...
Read more >
Chapter 4: Searching for and selecting studies
This chapter outlines some general issues in searching for studies; describes the main sources of potential studies; and discusses how to plan the...
Read more >
Find & Select in Excel (Easy Tutorial)
Find. To quickly find specific text, execute the following steps. 1. On the Home tab, in the Editing group, click Find & Select...
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