Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.Components.DropDownSearchEditComponentBase<TYPE>.RenderDropDownSearchAsync Method

Renders a DropDownSearch component as HTML.

Class: YetaWF.Modules.ComponentsHTML.Components.DropDownSearchEditComponentBase<TYPE>
Namespace: YetaWF.Modules.ComponentsHTML.Components
Assembly: YetaWF.ComponentsHTML

Syntax

public static Task<string> RenderDropDownSearchAsync(
    YetaWFComponent component,
    TYPE model,
    string? text,
    string url,
    string cssClass );

Parameters

component

The component to render.

model

The model rendered by the component.

text

The displayable text representing the model's value.

url

A URL used to retrieve entries matching the current input.

cssClass

A CSS class to add to the <select> tag. May be null.

See Also YetaWF.Modules.ComponentsHTML.Components.DropDownSearchEditComponentBase<TYPE> ClassYetaWF.ComponentsHTML PackageYetaWF.Core