Close modal, only if it's not actually completing the link process.
Creates a new record, and associate it directly to relationship.
Show and Hide modal based on button interaction.
Render the creation form, bound to current Model. Furthermore we hide the
relation field (if shown in the editForm a.k.a. content), so user will
not be confused.
We must ask for these fields to the user, since we cannot derivate them.
Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.
Called immediately after a compoment is mounted. Setting state here will trigger re-rendering.
Called immediately before mounting occurs, and before Component#render.
Avoid introducing any side-effects or subscriptions in this method.
Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState generally does not trigger this method.
Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
cancelled network requests, or cleaning up any DOM elements created in componentDidMount.
Called to determine whether the change in props and state should trigger a re-render.
Component always returns true.
PureComponent implements a shallow comparison on props and state and returns true if any
props or states have changed.
If false is returned, Component#render, componentWillUpdate
and componentDidUpdate will not be called.
Generated using TypeDoc
Allows to create a new Record and associate it to current relationship. The difference with the
Linkintent is that User is prompt to create the record, instead of just setting the linkage.