Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If an editor is set for one subproperty, it get's applied to all #6

Closed
jonnitto opened this issue Feb 28, 2023 · 3 comments · Fixed by #7
Closed

If an editor is set for one subproperty, it get's applied to all #6

jonnitto opened this issue Feb 28, 2023 · 3 comments · Fixed by #7
Assignees
Labels
bug Something isn't working

Comments

@jonnitto
Copy link
Contributor

If I have the following setting:

contactPersons:
    type: repeatable
    ui:
      inspector:
        editorOptions:
          properties:
            name:
              label: Name
              type: string
            phone:
              label: Telefon
              type: string
              editor: 'Neos.Neos/Inspector/Editors/TextAreaEditor'

The name also gets a textarea field. The same happens if I add a validation, it gets applied to all

@mireo91
Copy link
Owner

mireo91 commented Feb 28, 2023

@jonnitto what version of plugin and neos (ui) are you referring to? I just tested it on my local instance and I didn't get such result.

@mireo91
Copy link
Owner

mireo91 commented Feb 28, 2023

@jonnitto ok I accualy reproduced the problem. It occures when "Add row" button is used to add next one and fields are reinitailized. I will take a look on it and get back to you.

@mireo91
Copy link
Owner

mireo91 commented Feb 28, 2023

@jonnitto bug fix: https://github.com/mireo91/RepeatableFields/releases/tag/v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants