From bbcd29bc39e0b22f87014321478b927d608a1e1e Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Thu, 13 Feb 2025 08:51:26 +0000 Subject: [PATCH] Update 02-modal.md --- packages/support/docs/09-blade-components/02-modal.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/support/docs/09-blade-components/02-modal.md b/packages/support/docs/09-blade-components/02-modal.md index 2cb04da5fe..49b0dda1b4 100644 --- a/packages/support/docs/09-blade-components/02-modal.md +++ b/packages/support/docs/09-blade-components/02-modal.md @@ -229,13 +229,13 @@ By default, modals will autofocus on the first focusable element when opened. If ``` -## Preventing the modal from being triggered +## Disabling the modal trigger button -By default, modals will be triggered even if button is disabled. If you want to disable the modal trigger itself, you can use the `disabled` attribute on the trigger: +By default, the trigger button will open the modal even if it disabled, since the click event listener is registered on a wrapping element of the button itself. If you want to prevent the modal from opening, you should also use the `disabled` attribute on the trigger slot: ```blade - + Open modal