@@ -93,6 +93,7 @@ export default function AzureForm(props: AzureFormProps) { | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="personalAccessToken" | |||
value={formData.personalAccessToken} | |||
maxLength={2000} | |||
isSecret={true} | |||
/> | |||
</> |
@@ -104,6 +104,7 @@ export default function BitbucketCloudForm(props: BitbucketCloudFormProps) { | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="clientSecret" | |||
value={formData.clientSecret || ''} | |||
maxLength={160} | |||
isSecret={true} | |||
/> | |||
</> |
@@ -92,6 +92,7 @@ export default function BitbucketServerForm(props: BitbucketServerFormProps) { | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="personalAccessToken" | |||
value={formData.personalAccessToken || ''} | |||
maxLength={2000} | |||
isSecret={true} | |||
/> | |||
</> |
@@ -95,7 +95,7 @@ export default function GithubForm(props: GithubFormProps) { | |||
<AlmBindingDefinitionFormField | |||
id="client_secret.github" | |||
help={translate('settings.almintegration.form.client_secret.github.help')} | |||
maxLength={80} | |||
maxLength={160} | |||
onFieldChange={onFieldChange} | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="clientSecret" | |||
@@ -110,6 +110,7 @@ export default function GithubForm(props: GithubFormProps) { | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="privateKey" | |||
value={formData.privateKey} | |||
maxLength={2500} | |||
isSecret={true} | |||
/> | |||
</> |
@@ -89,6 +89,7 @@ export default function GitlabForm(props: GitlabFormProps) { | |||
overwriteOnly={Boolean(formData.key)} | |||
propKey="personalAccessToken" | |||
value={formData.personalAccessToken} | |||
maxLength={2000} | |||
isSecret={true} | |||
/> | |||
</> |
@@ -65,6 +65,7 @@ exports[`should render correctly: create 1`] = ` | |||
id="personal_access_token" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2000} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={false} | |||
propKey="personalAccessToken" | |||
@@ -138,6 +139,7 @@ exports[`should render correctly: edit 1`] = ` | |||
id="personal_access_token" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2000} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="personalAccessToken" |
@@ -77,6 +77,7 @@ exports[`should render correctly 1`] = ` | |||
help="settings.almintegration.form.oauth_secret.bitbucketcloud.help" | |||
id="client_secret.bitbucketcloud" | |||
isSecret={true} | |||
maxLength={160} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="clientSecret" |
@@ -61,6 +61,7 @@ exports[`should render correctly 1`] = ` | |||
id="personal_access_token" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2000} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="personalAccessToken" |
@@ -74,7 +74,7 @@ exports[`should render correctly 1`] = ` | |||
help="settings.almintegration.form.client_secret.github.help" | |||
id="client_secret.github" | |||
isSecret={true} | |||
maxLength={80} | |||
maxLength={160} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={false} | |||
propKey="clientSecret" | |||
@@ -85,6 +85,7 @@ exports[`should render correctly 1`] = ` | |||
id="private_key" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2500} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={false} | |||
propKey="privateKey" | |||
@@ -167,7 +168,7 @@ exports[`should render correctly 2`] = ` | |||
help="settings.almintegration.form.client_secret.github.help" | |||
id="client_secret.github" | |||
isSecret={true} | |||
maxLength={80} | |||
maxLength={160} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="clientSecret" | |||
@@ -178,6 +179,7 @@ exports[`should render correctly 2`] = ` | |||
id="private_key" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2500} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="privateKey" |
@@ -61,6 +61,7 @@ exports[`should render correctly 1`] = ` | |||
id="personal_access_token" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2000} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={false} | |||
propKey="personalAccessToken" | |||
@@ -130,6 +131,7 @@ exports[`should render correctly 2`] = ` | |||
id="personal_access_token" | |||
isSecret={true} | |||
isTextArea={true} | |||
maxLength={2000} | |||
onFieldChange={[MockFunction]} | |||
overwriteOnly={true} | |||
propKey="personalAccessToken" |