Skip to content

Commit

Permalink
chore: reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Dec 6, 2024
1 parent b40907b commit 5825af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srcts/src/bindings/input/selectInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class SelectInputBinding extends InputBinding {
callback(res);
if (!loaded) {
if (hasDefinedProperty(data, "value")) {
selectize.setValue(data.value);
selectize.setValue(data.value as any);
} else if (settings.maxItems === 1) {
// first item selected by default only for single-select
selectize.setValue(res[0].value);
Expand Down

0 comments on commit 5825af7

Please sign in to comment.