Fix checkbox.

This commit is contained in:
John Livingston 2024-06-11 18:01:29 +02:00
parent 2668e5174c
commit e811c549fd
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ export class ChannelConfigurationElement extends LivechatElement {
this.requestUpdate('_channelConfiguration')
}
}
.value=${this._channelConfiguration?.configuration.bot.enabled}
value="1"
?checked=${this._channelConfiguration?.configuration.bot.enabled}
/>
${ptTr(LOC_LIVECHAT_CONFIGURATION_CHANNEL_ENABLE_BOT_LABEL)}

View File

@ -597,7 +597,7 @@ export class DynamicTableFormElement extends LivechatElement {
id=${inputId}
aria-describedby="${inputId}-feedback"
@change=${(event: Event) => this._updatePropertyFromValue(event, propertyName, propertySchema, rowId)}
.value=${propertyValue}
value="1"
?checked=${propertyValue} />`
}