}
onClick={(evt) => {
// We override the `onClick` functionality to prevent form submission.
// The value changing occurs in the `onChange` in the `SegmentedControl`.
evt.preventDefault();
}}
>
{
// We override the `onClick` functionality to prevent form submission.
// The value changing occurs in the `onChange` in the `SegmentedControl`.
evt.preventDefault();
}}
glyph={}
>
{this.renderDocumentOrJsonView()}
{message && (
{message}
)}
);
}
}
export default withLoggerAndTelemetry(InsertDocumentDialog, 'COMPASS-CRUD-UI');