# payload-cms-text-array

> I did not find a field that supports an array of strings in the documentation of Payload CMS so I made it myself.

Latest version **0.1.1** (published 2023-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install payload-cms-text-array
pnpm add payload-cms-text-array
yarn add payload-cms-text-array
bun add payload-cms-text-array
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2023-08-31 |
| First published | 2023-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 (+9 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lars Vonk |
| Maintainers | thebetar |
| Keywords | payload, payloadCMS, mongodb, mongo |

## Links

- npm: https://www.npmjs.com/package/payload-cms-text-array
- Repository: https://github.com/thebetar/PayloadCMSTextArray
- Homepage: https://github.com/thebetar/PayloadCMSTextArray#readme
- Issues: https://github.com/thebetar/PayloadCMSTextArray/issues
- npm.io page: https://npm.io/package/payload-cms-text-array

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^18.2.0
- [payload](https://npm.io/package/payload.md) ^1.15.2

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2023-08-31
- 0.1.0 — 2023-08-31

## README

# PayloadCMSTextArray

While working with payload CMS I did not find a field that could handle an array of strings.
This was the inspiration to create this field myself and publish it so others could use it as well.

This package is a W.I.P.

To use this package import it and use it in a field like this:

```js
import { TextArrayField, TextArrayCell } from 'payload-cms-text-array';

const Users: CollectionConfig = {
    slug: 'users',
    fields: [
        ...,
        {
            name: 'skills',
            type: 'text',
            admin: {
				components: {
					Field: TextArrayField,
					Cell: TextArrayCell
				}
			},
        }
    ]
}
```

## Info

The component uses some custom classes and some classes from the dependency itself.

---
_Source: https://npm.io/package/payload-cms-text-array · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
