Skip to content
Evgenii Koriakin edited this page Oct 23, 2017 · 1 revision

Table of contents

Demo

Demo

Usage

Basic

View:

<ma-label for="name">Name</ma-label>
<ma-text-box
    id="name"
    value="name">
</ma-text-box>

Fields

cutOverflow

Determines whether to cut overflowed text with an ellipsis.

Type

Boolean

Default value

false

Examples

Sets the field:

View:

<ma-label cut-overflow="true">
    Internal reference number (supplier reference)
</ma-label>

for

An identifier of a labelable component.

Type

String

Default value

''

Examples

Sets the field:

View:

<ma-label for="name">Name</ma-label>
<ma-text-box
    id="name"
    value="name">
</ma-text-box>

isRequired

Determines whether to show a 'required' red star.

Type

Boolean

Default value

false

Examples

Sets the field:

View:

<ma-label is-required="true">
    Name
</ma-label>