\Kendo\UI\FormItemLabel

A PHP class representing the label setting of FormItem.

Methods

optional

Specifies if the field is optional by rendering additional text next to the label.

Returns

\Kendo\UI\FormItemLabel

Parameters

$value boolean

Example

<?php
$label = new \Kendo\UI\FormItemLabel();
$label->optional(true);
?>

text

Defines the text of the label.

Returns

\Kendo\UI\FormItemLabel

Parameters

$value string

Example

<?php
$label = new \Kendo\UI\FormItemLabel();
$label->text('value');
?>
In this article
Not finding the help you need?