From 9baea2c1cd837ff4e524edc8dd2729924491d66f Mon Sep 17 00:00:00 2001 From: Jigar Patel Date: Sun, 21 Jun 2020 15:34:13 +0530 Subject: [PATCH] [DOC] props validation: The validation type should be a String object. --- doc/reference/props_validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/props_validation.md b/doc/reference/props_validation.md index 506b064c..7d58291e 100644 --- a/doc/reference/props_validation.md +++ b/doc/reference/props_validation.md @@ -30,7 +30,7 @@ class ComponentB extends owl.Component { count: {type: Number}, messages: { type: Array, - element: {type: Object, shape: {id: Boolean, text: 'string' } + element: {type: Object, shape: {id: Boolean, text: String } }, date: Date, combinedVal: [Number, Boolean]