Fix aria-disabled

pull/28217/head
Florian Duros 2022-10-11 10:09:57 +02:00
parent 7ad39ba6c7
commit 0dd9aba47f
No known key found for this signature in database
GPG Key ID: 9700AA5870258A0B
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export function WysiwygComposer(
aria-autocomplete="list"
aria-haspopup="listbox"
dir="auto"
aria-disabled={!disabled && isWysiwygReady}
aria-disabled={disabled || !isWysiwygReady}
/>
</div>
{ children?.(memoizedSendMessage) }