New to Kendo UI for Angular? Start a free 30-day trial

Optional FloatingLabel

The FloatingLabel component allows you to indicate a form field is optional.

To achieve this outcome, use the optional input property. When optional is set to true, the text Optional will be rendered as part of the FloatingLabel text.

You can customize the default optional content through custom messages or the Angular i18n framework. For more information and runnable demos, refer to the article on globalizing Kendo UI for Angular components.

The following example demonstrates the optional FloatingLabel in action.

Example
View Source
Change Theme:

In this article

Not finding the help you need?