$renderLabel

renders html for the label

string $renderLabel(object config,id id);

Parameters

configobjectcontrol configuration
ididunique id of the control

Returns

stringhtml code of control label

Example

var label = input.$renderLabel(input.config, "id");

Details

Not purposed for direct calls

Can be used in custom views to redefine html content of the control label.

Back to top