Skip to content

Commit

Permalink
Removed validation rule that did not allow spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Dorlus committed Nov 16, 2022
1 parent 9428b4b commit be3a5c0
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,20 +168,6 @@ export const configurationFormSchema: FormSchema = {
),
type: FIELD_TYPES.COMBO_BOX,
defaultValue: ['strict_date_optional_time', 'yyyy/MM/dd HH:mm:ss Z||yyyy/MM/dd Z'],
validations: [
{
validator: containsCharsField({
message: i18n.translate(
'xpack.idxMgmt.mappingsEditor.configuration.dynamicDatesFieldValidationErrorMessage',
{
defaultMessage: 'Spaces are not allowed.',
}
),
chars: ' ',
}),
type: VALIDATION_TYPES.ARRAY_ITEM,
},
],
},
},
_routing: {
Expand Down

0 comments on commit be3a5c0

Please sign in to comment.