Components let us split our app UI into independent, reusable pieces. A page layout in Flow has the following components:
Content – Hidden | Presentation | List | Outcomes | Image
Input – Input | Radio | Checkbox | Toggle | Text | Rich Text | Combobox
Data – File Upload | Table | Files | Tiles
Charts – Bar | Line | Pie | Doughnut | Polar Area
Let’s take a look at the text component.
Let’s do a quick preview to see what the text component looks like in action:
We can configure the height and width of the text area from the configuration panel, along with maximum characters.
Width and Height will be set to the
colsHTML attributes respectively. (In case you are wondering if this is similar to the good old HTML
<textarea> tag, wander no more. It is.)
- Sample flow – https://flow.manywho.com/c5a50df2-f24b-4342-9fbd-1c91747ac0cf/play/default?flow-id=d7d8e002-6b86-4bc8-8e85-ead3393046d9
- Sample package – https://s3.amazonaws.com/mw-documentation/flow-examples/textarea.json