What is the difference between label and template.
We can use template to have same behavior than label ?
Thanks
What is the difference between label and template.
We can use template to have same behavior than label ?
Thanks
Hello,
Template is a component designed for rendering HTML content of any size and complexity. It works as an HTML container and has a much richer API than ui.label, which was made for other purposes.
For example, it can store a single data item in order to make the template dynamic without a necessity to refresh the entire initial HTML.
Label is a form control which is intended for displaying some static text.
And yes, the template can be used as a label, if needed.