Skip to content

Commit

Permalink
[#57] Make local name field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kostobog committed Dec 19, 2023
1 parent 1fb10e4 commit 9e8d118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/components/record/RequiredAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class RequiredAttributes extends React.Component {
<HorizontalInput
labelWidth={4} inputWidth={8}
type='text' name='localName' value={record.localName}
label={this.i18n('records.local-name') + '*'} onChange={this.props.onChange}
label={this.i18n('records.local-name')} onChange={this.props.onChange}
/>
</div>
<HelpIcon text={this.i18n('help.local-name')} glyph="help"/>
Expand Down
2 changes: 1 addition & 1 deletion js/constants/DefaultConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const INPUT_LENGTH_THRESHOLD = 70;

export const PASSWORD_LENGTH = 4;

export const RECORD_REQUIRED_FIELDS = ['localName'];
export const RECORD_REQUIRED_FIELDS = [];

export const ALERT_TYPES = {
INFO: 'info',
Expand Down

0 comments on commit 9e8d118

Please sign in to comment.