Skip to content

Commit

Permalink
Merge pull request #30638 from esh-g/workspace-settings-form-error
Browse files Browse the repository at this point in the history
Workspace settings page form error fix
  • Loading branch information
Beamanator authored Nov 3, 2023
2 parents 399b65e + 79fbe70 commit f604dbd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pages/workspace/WorkspaceSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ function WorkspaceSettingsPage({policy, currencyList, windowWidth, route}) {
<Form
formID={ONYXKEYS.FORMS.WORKSPACE_SETTINGS_FORM}
submitButtonText={translate('workspace.editor.save')}
style={styles.flexGrow1}
submitButtonStyles={[styles.mh5]}
style={[styles.flexGrow1, styles.ph5]}
scrollContextEnabled
validate={validate}
onSubmit={submit}
Expand Down Expand Up @@ -145,12 +144,12 @@ function WorkspaceSettingsPage({policy, currencyList, windowWidth, route}) {
inputID="name"
label={translate('workspace.editor.nameInputLabel')}
accessibilityLabel={translate('workspace.editor.nameInputLabel')}
containerStyles={[styles.mt4, styles.mh5]}
containerStyles={[styles.mt4]}
defaultValue={policy.name}
maxLength={CONST.WORKSPACE_NAME_CHARACTER_LIMIT}
spellCheck={false}
/>
<View style={[styles.mt4]}>
<View style={[styles.mt4, styles.mhn5]}>
<MenuItemWithTopDescription
title={formattedCurrency}
description={translate('workspace.editor.currencyInputLabel')}
Expand Down

0 comments on commit f604dbd

Please sign in to comment.