prgfx/neos-stringseditor

此包最新版本(v0.1.0)没有可用的许可信息。

Neos CMS 字符串数组编辑器

安装: 0

依赖: 0

建议者: 0

安全: 0

星标: 3

关注者: 1

分支: 0

开放问题: 0

语言:TypeScript

类型:neos 包

v0.1.0 2023-10-04 19:57 UTC

This package is auto-updated.

Last update: 2024-09-04 22:12:40 UTC


README

提供用于编辑简单 array<string> 属性的检查器编辑器。

composer require prgfx/neos-stringseditor

Screenshot of the editor

用法

My.NodeType:
  properties:
    items:
      type: array<string>
      ui:
        inspector:
          # you can normally omit this, when you use array<string> as property type
          editor: Prgfx.Neos.StringsEditor
          editorOptions:
            placeholder: Placeholder text
            # optional number of items allowed to be entered
            maximumItems: 4
            # by default only unique items are allowed, but you can disable this rule
            unique: false