Просмотр исходного кода

fix(uptime): Add missing required markers (#78075)

Evan Purkhiser 5 месяцев назад
Родитель
Сommit
b573301489
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      static/app/views/alerts/rules/uptime/uptimeAlertForm.tsx

+ 8 - 0
static/app/views/alerts/rules/uptime/uptimeAlertForm.tsx

@@ -115,6 +115,7 @@ export function UptimeAlertForm({
             inline={false}
             flexibleControlStateSize
             stacked
+            required
           />
         </FormRow>
         <AlertListItem>{t('Configure Request')}</AlertListItem>
@@ -126,6 +127,7 @@ export function UptimeAlertForm({
             placeholder={t('The URL to monitor')}
             flexibleControlStateSize
             monospace
+            required
           />
           <SelectField
             disabled={!enabledConfiguration}
@@ -137,6 +139,7 @@ export function UptimeAlertForm({
               label: option,
             }))}
             flexibleControlStateSize
+            required
           />
           <UptimeHeadersField
             name="headers"
@@ -177,6 +180,7 @@ export function UptimeAlertForm({
             inline={false}
             flexibleControlStateSize
             stacked
+            required
           />
           <SentryMemberTeamSelectorField
             name="owner"
@@ -224,5 +228,9 @@ const ConfigurationPanel = styled(Panel)`
     display: grid;
     grid-template-columns: subgrid;
     grid-column: 1 / -1;
+
+    label {
+      width: auto;
+    }
   }
 `;