Skip to content

Commit c769f62

Browse files
fix(docs): autocomplete -> autofocus
1 parent cde649c commit c769f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Property | Attribute | Type | Default | Description
238238

239239
Method | Parameters | Returns | Description
240240
--- | --- | --- | ---
241-
`show` | _None_ | `Promise<void>` | Opens the dialog and fires a cancelable `open` event. After a dialog's animation, an `opened` event is fired.<br>Add an `autocomplete` attribute to a child of the dialog that should receive focus after opening.
241+
`show` | _None_ | `Promise<void>` | Opens the dialog and fires a cancelable `open` event. After a dialog's animation, an `opened` event is fired.<br>Add an `autofocus` attribute to a child of the dialog that should receive focus after opening.
242242
`close` | `returnValue` | `Promise<void>` | Closes the dialog and fires a cancelable `close` event. After a dialog's animation, a `closed` event is fired.
243243

244244
<!-- mdformat on(autogenerated might break rendering in catalog) -->

0 commit comments

Comments
 (0)