Merge pull request #6014 from nextcloud-libraries/backport/6013/next
[next] fix(NcCheckBoxRadioSwitch): do not toggle on a click on a link inside
This commit is contained in:
Коммит
749fcaf007
|
@ -583,8 +583,8 @@ export default {
|
|||
t,
|
||||
n,
|
||||
|
||||
onToggle() {
|
||||
if (this.disabled) {
|
||||
onToggle(event) {
|
||||
if (this.disabled || event.target.tagName.toLowerCase() === 'a') {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче