mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Update phone number placeholders in registration and subscription forms
This commit is contained in:
parent
e2074b010e
commit
af6f5af11d
@ -59,7 +59,7 @@ test.describe("Account Registration", () => {
|
|||||||
if (IS_BILLING_ENABLED) {
|
if (IS_BILLING_ENABLED) {
|
||||||
await page.getByTestId("companyName").fill("sample");
|
await page.getByTestId("companyName").fill("sample");
|
||||||
await page.getByTestId("companyName").press("Tab");
|
await page.getByTestId("companyName").press("Tab");
|
||||||
await page.getByTestId("companyPhoneNumber").fill("+15853641376");
|
await page.getByTestId("companyPhoneNumber").fill("+1234567890");
|
||||||
await page.getByTestId("companyPhoneNumber").press("Tab");
|
await page.getByTestId("companyPhoneNumber").press("Tab");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ const SubscribePage: FunctionComponent<SubscribePageProps> = (
|
|||||||
required: (model: FormValues<StatusPageSubscriber>) => {
|
required: (model: FormValues<StatusPageSubscriber>) => {
|
||||||
return model && Boolean(model.subscriberPhone);
|
return model && Boolean(model.subscriberPhone);
|
||||||
},
|
},
|
||||||
placeholder: "+15853641376",
|
placeholder: "+11234567890",
|
||||||
disabled: true,
|
disabled: true,
|
||||||
showIf: (model: FormValues<StatusPageSubscriber>) => {
|
showIf: (model: FormValues<StatusPageSubscriber>) => {
|
||||||
return model && Boolean(model.subscriberPhone);
|
return model && Boolean(model.subscriberPhone);
|
||||||
|
Loading…
Reference in New Issue
Block a user