Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components / Features / Autocomplete Directives #6

Open
patrickjahr opened this issue Apr 9, 2024 · 0 comments
Open

Components / Features / Autocomplete Directives #6

patrickjahr opened this issue Apr 9, 2024 · 0 comments
Labels
alpha feature New feature / component

Comments

@patrickjahr
Copy link
Collaborator

patrickjahr commented Apr 9, 2024

Template Idee

<sk-select skMultiple #skAutocomplete>
    <input required type pattern skAutocomplete />
    @for (option of source) {
      <sk-select-option value="1234-5678" [skAutocompleteSearch]="[item.id, item.label]">
        ____TEMPLATE____
      </sk-select-option>
    }
  </sk-select>

Template Idee 2

<input type="text" #input /> <!-- single value -->
<textarea></textarea> <!-- single value -->

<sk-autocomplete [control]=input multiple>
    <sk-autocomplete-option value="1234-5678" [skAutocompleteSearch]="[item.id, item.label]">
        as&nbsp;df
    </sk-autocomplete-option>
</sk-autocomplete>
@patrickjahr patrickjahr self-assigned this Apr 9, 2024
@patrickjahr patrickjahr added the feature New feature / component label Apr 9, 2024
@patrickjahr patrickjahr changed the title Components / Features / Autocomplete Component Components / Features / Autocomplete Directives Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha feature New feature / component
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants