Skip to content

Commit

Permalink
Merge pull request #2367 from replicatedhq/textarea-props
Browse files Browse the repository at this point in the history
Remove props from textarea because they don't work now
  • Loading branch information
paigecalvert committed May 21, 2024
2 parents 75d9bf9 + 8f34649 commit 7984503
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/reference/custom-resource-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ spec:
- name: key
title: Key
type: textarea
props:
rows: 8
- name: hostname
title: Hostname
type: text
Expand Down Expand Up @@ -169,8 +167,6 @@ spec:
- name: key
title: Key
type: textarea
props:
rows: 8
- name: hostname
title: Hostname
type: text
Expand Down Expand Up @@ -628,9 +624,7 @@ Optionally, all additional properties are available for this input type.
![Text field on the configuration screen](../../static/images/config-screen-text.png)

### `textarea`
A `textarea` can specify a `props` that will map into the HTML element directly.
Examples of available properties are `rows`, `cols` and `wrap`.
For more information, see [HTML `<textarea/>` Tag](https://www.w3schools.com/tags/tag_textarea.asp).
A `textarea` items creates a multi-line text input for when users have to enter a sizeable amount of text.

```yaml
- name: custom_key
Expand All @@ -640,8 +634,6 @@ For more information, see [HTML `<textarea/>` Tag](https://www.w3schools.com/tag
- name: key
title: Key
type: textarea
props:
rows: 8
- name: hostname
title: Hostname
type: text
Expand Down

0 comments on commit 7984503

Please sign in to comment.