FlowFuse / FlowFuse/flowfuse

Add support for multi-line text in `<FormRow>`

Open
#1,434 0 comments 0 reactions 0 assignees View on GitHub
area:frontend type:feature
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

### Description

We have a couple places in the UI where a `` component is used within a `<FormRow>`.

That is achieved using the `input` placeholder to provide a custom `<textarea>` component inside the row.

For example:
```
<FormRow v-model="input.options.cert">
X.509 Certificate Public Key
<template #input><textarea class="font-mono w-full" rows="6" v-model="input.options.cert">

```

Given we now have two places that need to do this, we run the risk of getting a third and a fourth, which then becomes multiple places to update if we want to change the styling etc.

We should consider adding `` as one of the built-in options for FormRow.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.