Skip to content

Commit

Permalink
refactor(Autocomplete) additionally allow array of string ids in sele…
Browse files Browse the repository at this point in the history
…cted option materializecss#479
  • Loading branch information
gselderslaghs committed Jan 2, 2025
1 parent 5e88871 commit 9afcf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface AutocompleteOptions extends BaseOptions {
/**
* Predefined selected values
*/
selected: number[];
selected: number[] | string[];
}

const _defaults: AutocompleteOptions = {
Expand Down

0 comments on commit 9afcf38

Please sign in to comment.