Skip to content

Commit bfcd018

Browse files
committed
dont trim on change its bad ux
1 parent 02451b8 commit bfcd018

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types

1 file changed

+1
-1
lines changed

x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ const PagerDutyParamsFields: React.FunctionComponent<ActionParamsProps<PagerDuty
376376
value={timestamp || ''}
377377
isInvalid={errors.timestamp.length > 0 && timestamp !== undefined}
378378
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
379-
editAction('timestamp', e.target.value.trim(), index);
379+
editAction('timestamp', e.target.value, index);
380380
}}
381381
onBlur={() => {
382382
if (timestamp?.trim()) {

0 commit comments

Comments
 (0)