docs: fix spacing around option tag in bind docs (#18114)

## Summary
- Fix the missing space before `<option>` in the bind documentation.

## Related issue
- N/A

## Guideline alignment
- Read `CONTRIBUTING.md` and kept this to one focused docs-only file
change.
- No behavior, test, fixture, changeset, or generated-file changes.

## Test plan
- `git diff --check`
- Not run: docs-only spacing fix.

Co-authored-by: Codex <codex@openai.com>
pull/18124/head
Rohan Santhosh Kumar 3 months ago committed by GitHub
parent 6a149666c1
commit 48dc9b40c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -241,7 +241,7 @@ When the value of an `<option>` matches its text content, the attribute can be o
</select>
```
You can give the `<select>` a default value by adding a `selected` attribute to the`<option>` (or options, in the case of `<select multiple>`) that should be initially selected. If the `<select>` is part of a form, it will revert to that selection when the form is reset. Note that for the initial render the value of the binding takes precedence if it's not `undefined`.
You can give the `<select>` a default value by adding a `selected` attribute to the `<option>` (or options, in the case of `<select multiple>`) that should be initially selected. If the `<select>` is part of a form, it will revert to that selection when the form is reset. Note that for the initial render the value of the binding takes precedence if it's not `undefined`.
```svelte
<select bind:value={selected}>

Loading…
Cancel
Save