diff --git a/scripts/apps/authoring-react/authoring-section/authoring-section-field.tsx b/scripts/apps/authoring-react/authoring-section/authoring-section-field.tsx index ff4852facf..e006bdd821 100644 --- a/scripts/apps/authoring-react/authoring-section/authoring-section-field.tsx +++ b/scripts/apps/authoring-react/authoring-section/authoring-section-field.tsx @@ -49,7 +49,7 @@ export class AuthoringSectionField extends React.PureComponent> { ); return ( -
+
{canBeToggled && toggledOn === false ? ( ) : ( diff --git a/scripts/apps/authoring-react/fields/datetime/editor.tsx b/scripts/apps/authoring-react/fields/datetime/editor.tsx index 4423f6d844..866bee8ff6 100644 --- a/scripts/apps/authoring-react/fields/datetime/editor.tsx +++ b/scripts/apps/authoring-react/fields/datetime/editor.tsx @@ -24,7 +24,7 @@ export class Editor extends React.PureComponent { hidden: true, }} onChange={this.props.onChange} - value={this.props.value} + value={this.props.value ?? null} disabled={this.props.config.readOnly} width={this.props.config.width} />