Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

searchable TextField on Select component (enhancement) #195

Open
romanown opened this issue Mar 24, 2021 · 1 comment
Open

searchable TextField on Select component (enhancement) #195

romanown opened this issue Mar 24, 2021 · 1 comment

Comments

@romanown
Copy link
Contributor

romanown commented Mar 24, 2021

need the Select component with searchable TextField caption with live search. example the Select component with cities or countries with fetched data from backend. after fix no show name of TextField after load data after fetching (as i show in issue and pull request).
example internal code


<TextField
          style={style.textField}
          label={props.label}
          onChange={onTextChange}
          onMouseDown={onOpen}
          onKeyUp={onKeyUp}
          value={text}
        />
 <Select
                value={city}
                items={cities}
                on:change={(e) => selectParams(e, "city")}
                >City</Select
              >
@romanown romanown changed the title (Enh) serchable TextField on Select component (Enh) searchable TextField on Select component Mar 24, 2021
@romanown romanown changed the title (Enh) searchable TextField on Select component enhancement : searchable TextField on Select component Mar 26, 2021
@romanown romanown changed the title enhancement : searchable TextField on Select component searchable TextField on Select component (enhancement) Apr 12, 2021
@nikobari94
Copy link

#245 My pull request meets your requirements: if you bind the filterValue variable with a local variable you can change the items passed to Select component with a function that fetch from BackEnd the items based on the filterValue applied.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants