Skip to content

Commit

Permalink
[setup] documentation update
Browse files Browse the repository at this point in the history
Remove reference to auto-generated IDs
  • Loading branch information
tmorehouse committed Jun 23, 2017
1 parent ebce69f commit f1e304b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/SETUP.md
Expand Up @@ -60,9 +60,6 @@ UMD | Browser | `dist/bootstrap-vue.js`

## Advanced Tips

### auto generated ids
Some HTML tags like `aria-*` and `for` need dom id reference in order to get working.
They are automatically added if `id` attribute is available on target element and it is *highly recommended adding them manually*.
For enabling auto generated ids you can set `window.UNSAFE_UID` or `process.env.UNSAFE_UID`
to `true` but it is highly discouraged as `_uid` is internal and should not be used as part of the application state. [vuejs/vue#5573](https://github.com/vuejs/vue/issues/5573)
Enabling may also introduce problems if you are using SSR.
### ARIA compliance
Some HTML tags like `aria-*` and `for` need a dom `id` reference in order to get it working.
The attributes are automatically added if `id` attribute is available on target element and it is *highly recommended adding `id`* to each component.

0 comments on commit f1e304b

Please sign in to comment.