From d6950c27bb4e0d76b0a1bd0d3771fd05d26d0525 Mon Sep 17 00:00:00 2001 From: Renjith Date: Thu, 18 Mar 2021 01:36:03 -0500 Subject: [PATCH] Add property type email --- webapp/src/components/propertyValueElement.tsx | 2 +- webapp/src/widgets/propertyMenu.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/propertyValueElement.tsx b/webapp/src/components/propertyValueElement.tsx index d3a83fa74..2f32e93d3 100644 --- a/webapp/src/components/propertyValueElement.tsx +++ b/webapp/src/components/propertyValueElement.tsx @@ -94,7 +94,7 @@ export default class PropertyValueElement extends React.Component ) } - if (propertyTemplate.type === 'text' || propertyTemplate.type === 'number') { + if (propertyTemplate.type === 'text' || propertyTemplate.type === 'number' || propertyTemplate.type === 'email') { if (!readOnly) { return ( { name='Number' onClick={() => this.props.onTypeChanged('number')} /> + this.props.onTypeChanged('email')} + />