question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to modify "Show Create new entries" setting in entryLinkEditor's field control

See original GitHub issue

Expected Behavior

I’d like to be able to programmatically modify the Show “Create new entries” setting of the builtin entryLinkEditor field control.

image

Actual Behavior

The documentation on editor interfaces, as well as the IEditorInterfaceOptions interface suggest that controlling this field is not exposed yet, or that it is controlled elsewhere.

Is there a way to programmatically set the value of this field in the editor interface with ContentType.changeFieldControl or somehow else?

Possible Solution

If these settings of the entryLinkEditor control are available, but just not exposed publicly, could these be exposed?

Context

I’d like to be able to change the field via a migration so I don’t need to manually modify the settings via the UI when setting up the project.

Environment

  • Node Version: v12.16.3
  • Package Manager Version: 6.14.4
  • Package Version: 1.1.9

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
DannyMurphy92commented, Nov 9, 2021

Also interested if there is any update on this, and also for “Link existing entries” option which also appears to be missing from the typescript definition

0reactions
FreshRobcommented, Sep 16, 2021

Any updates with regards to this, as no option was added to the typescript definition and cannot see any documentation on the property

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Add ability to modify "Show Create new entries" setting ...
Expected Behavior. I'd like to be able to programmatically modify the Show "Create new entries" setting of the builtin entryLinkEditor field control.
Read more >
Editor Interfaces - Contentful
An editor interface represents the look and feel of content type fields in the web app | Settings | Custom widgets | Sidebar...
Read more >
contentful-migration - npm
Transform Entries for a Given Content type; Derives a new entry and sets up ... Create a field; Edit a field; Delete a...
Read more >
javascript - update an entry in contentful with an reference field
Looks like one of your reference entries can't be resolved specifically the one at fields.link["en-US"][7] (note the "path" property in the ...
Read more >
Add ability to modify "Show Create new entries" setting in ...
Expected Behavior. I'd like to be able to programmatically modify the Show "Create new entries" setting of the builtin entryLinkEditor field control.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found