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

Make references allow single select #12

Open
kedelima opened this issue Sep 27, 2022 · 1 comment
Open

Make references allow single select #12

kedelima opened this issue Sep 27, 2022 · 1 comment

Comments

@kedelima
Copy link

kedelima commented Sep 27, 2022

The idea of this Issue is to have a property of the "references" type and allowing a singular choice (multiple: false|null).
To facilitate switching between singular and multiple selection afterwards.

Current Problem: Within a nodeType, when type is set to type: references and it is not multiple: true, when selecting a single entry, it doesn't apply the changes.

I will provide a snippet, if anything is unclear or needs more details, please let me know.

Thanks for the hard work and any further support is much appreciated.

 categories:
       type: references
       ui:
         label: News Category
         inspector:
           group: newssettings
           editor: 'Neos.Neos/Inspector/Editors/SelectBoxEditor'
           editorOptions:
             dataSourceIdentifier: 'tms-select-nodedata'
             dataSourceDisableCaching: true
             #multiple: true
             dataSourceAdditionalData:
               nodeTypes: ['Foo.Bar:Tag.Category']
               #startingPoint: /sites
@paavo
Copy link

paavo commented Mar 27, 2023

Any thoughts about an Implementation @jobee?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants