Floatinglabel Type Ahead

(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

This is a reference page; many components have detailed usage guides here.

Properties

appendToBody

Type: Boolean Default Value: true


dataProviderID

Type: Dataprovider


editable

Type: Protected Default Value: true


enabled

Type: Enabled Default Value: true


errorMessage

Type: String


filteringDebounce

Type: Number Default Value: 500


floatLabelText

Type: String


format

Type: Format


selectOnEnter

Type: Boolean


showAs

Option typeahead options are shown as plain text or sanitized html.

Type: String Default Value: "html"


styleClass

Set the styleclasses that should be applied at to this component

Type: Styleclass Default Value: "form-control"


tabSeq

Type: Tabseq


toolTipText

Type: String


valuelistConfig

Type: ValuelistConfig


valuelistID

Type: Valuelist Default Value: "autoVL"


visible

Whether the button is visible or not

Type: Visible


Events

onActionMethodID(event)

Parameters:


onDataChangeMethodID(oldValue,newValue,event)

Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)

Parameters:

Returns: {Boolean}


onFocusGainedMethodID(event)

Parameters:


onFocusLostMethodID(event)

Parameters:


API

requestFocus(mustExecuteOnFocusGainedMethod)

Request the focus to this typeahead.

Example:

myElement.requestFocus();

Parameters:

  • {Boolean} [mustExecuteOnFocusGainedMethod] If false will not execute the onFocusGained method; the default value is true


toggleErrorMessage(show)

Toggles the display of the error message for the component.

Parameters:

  • {Boolean} show A flag indicating whether to show (true) or hide (false) the error message.



Last updated

Was this helpful?