mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
parent
dc35e7df6d
commit
7348f0bf4f
1 changed files with 2 additions and 1 deletions
|
@ -925,7 +925,8 @@ Fields.Url = class extends Fields.Input {
|
|||
Fields.Switch = class extends Fields.CheckBox {
|
||||
getTemplate() {
|
||||
const label = this.properties.label
|
||||
return `${super.getTemplate()}<label title="${label}" for="${this.id}" data-ref=customLabel>${label}</label>`
|
||||
const help = this.properties.helpEntries?.join() || ''
|
||||
return `${super.getTemplate()}<label title="${label}" for="${this.id}" data-ref=customLabel data-help="${help}">${label}</label>`
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue