Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/components/form-input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,4 +534,30 @@ these methods and properties. Support will vary based on input type.

You can use `<b-form-input>` by it's shorter alias `<b-input>`.

## Using HTML5 `<input>` as an alternative

If you just need a simple input with basic bootstrap styling, you can simply use the following:

```html
<template>
<div>
<input v-model="value" type="text" class="form-control">
<br>
<p>Value: "{{ value }}"</p>
</div>
</template>

<script>
export default {
data() {
return {
value: ''
}
}
}
</script>

<!-- native-input.vue -->
```

<!-- Component reference added automatically from component package.json -->