Skip to content

Commit

Permalink
Workspace settings page form error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
esh-g committed Oct 31, 2023
1 parent 4d75c0c commit 79fbe70
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 79fbe70

Please sign in to comment.