label() {
    const label = this.data.label || ''
    const labelText = this.disableHTMLLabels ? document.createTextNode(label) : utils.parsedHtml(label)
    const labelContents = [labelText]
    if (this.data.required) {
      labelContents.push(this.markup('span', '*', { className: 'formbuilder-required' }))
    }

    // support an override template for labels
    if (this.isTemplate('label')) {
      return this.processTemplate('label', labelContents)
    }

    // generate a label element
    return this.markup('label', labelContents, {
      for: this.data.id,
      className: `formbuilder-${this.data.type}-label`,
    })
  }
Build a label element
@return {Object} dom element to render the label