Skip to content

Commit

Permalink
Implement HasPrefix and HasSuffix
Browse files Browse the repository at this point in the history
  • Loading branch information
TatuLund authored Jan 4, 2024
1 parent 565091a commit 5a1b815
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.JsModule;
import com.vaadin.flow.component.dependency.NpmPackage;
import com.vaadin.flow.component.shared.HasPrefix;
import com.vaadin.flow.component.shared.HasSuffix;
import com.vaadin.flow.shared.Registration;

import elemental.json.JsonArray;
Expand Down Expand Up @@ -57,7 +59,7 @@
@JsModule("@vaadin-component-factory/vcf-autocomplete/src/vcf-autocomplete.js")
public class Autocomplete extends Component implements HasTheme, HasSize,
HasValue<Autocomplete.AutocompleteValueAppliedEvent, String>,
Focusable<Autocomplete>, HasValidation {
Focusable<Autocomplete>, HasValidation, HasPrefix, HasSuffix {
private static final String OPTIONS = "options";
private static final String TEXTFIELD_SELECTOR = "this._textField";
private static final String LIMIT_PROP = "limit";
Expand Down Expand Up @@ -256,4 +258,4 @@ public ValueClearEvent(Autocomplete source, boolean fromClient) {
}


}
}

0 comments on commit 5a1b815

Please sign in to comment.