Floatinglabel Textbox
(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
autocomplete
Html autocomplete property of the input field.
Type: string Default Value: "off"
dataProviderID
Type: dataprovider
editable
Type: protected Default Value: true
enabled
Type: enabled Default Value: true
errorMessage
Type: tagstring
floatLabelText
Type: tagstring
format
Type: format
inputType
Type: string Default Value: "text"
selectOnEnter
Type: boolean
styleClass
Set the styleclasses that should be applied at to this component
Type: styleclass Default Value: "form-control"
styleClassForEye
Set the styleclasses for the eye when inputType on this component is password-with-eye, you need to add main(not manadatory), eye and eye-slash classes in this order, default value for NG is 'glyphicon glyphicon-eye-open glyphicon-eye-close' and for TiNG 'fa fa-eye fa-eye-slash'
Type: styleclass
tabSeq
Type: tabseq
toolTipText
Type: tagstring
visible
Whether the button is visible or not
Type: visible
Events
onActionMethodID(event)
Parameters:
{JSEvent} event
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:
{${dataproviderType}} oldValue
{${dataproviderType}} newValue
{JSEvent} event
Returns: {boolean}
onFocusGainedMethodID(event)
Parameters:
{JSEvent} event
onFocusLostMethodID(event)
Parameters:
{JSEvent} event
onRightClickMethodID(event)
Parameters:
{JSEvent} event
API
requestFocus(mustExecuteOnFocusGainedMethod)
Request the focus to this text field.
Example:
Parameters:
{boolean} [mustExecuteOnFocusGainedMethod] ** mustExecuteOnFocusGainedMethod (optional) if false will not execute the onFocusGained method; the default value is true
setInputType(inputType)
Reset the dataProvider to null and change the inputType of the textbox. Note: the value of the dataProvider bound to this field will be automatically set to null
Example:
Parameters:
{string} inputType Allowed values for inputType are text, password, email, tel, date, time, datetime-local, month, week, number, color
Returns: boolean
toggleErrorMessage(show)
Parameters:
{boolean} show
Last updated