Skip to content
Snippets Groups Projects
Verified Commit dd1a18f1 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth
Browse files

Add missing v-model documentation

parent 78448344
No related branches found
No related tags found
1 merge request!3Add documentation for all components
Pipeline #23792 passed
......@@ -6,6 +6,7 @@ Inputs are areas in which users can enter information. In Funkwhale, these mostl
| ----- | --------- | ---------- | ------------ |
| `placeholder` | String | No | The placeholder text that appears when the input is empty. |
| `icon` | String | No | The [Bootstrap icon](https://icons.getbootstrap.com/) to show on the input. |
| `v-model:value` | String | Yes | The text entered in the input. |
## Input model
......
......@@ -18,6 +18,7 @@ Funkwhale supports Markdown syntax in textarea blocks.
| ---- | ---------- | ----------- | ----------- |
| `max` | Number | No | The maximum number of characters a user can enter in the textarea. |
| `placeholder` | String | No | The placeholder text shown on an empty textarea. |
| `v-model:value` | String | Yes | The text entered into the textarea. |
## Textarea model
......
......@@ -11,7 +11,8 @@ Toggles are basic form inputs that visually represent a boolean value. Toggles c
| Prop | Data type | Required? | Description |
| ----- | ---------- | ---------- | ----------- |
| `big` | Boolean | No | Controls whether a toggle is big or not |
| `big` | Boolean | No | Controls whether a toggle is big or not. |
| `v-model:value` | Boolean | Yes | The value controlled by the toggle. |
## Normal toggle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment