Add property type email
This commit is contained in:
parent
2681b8900a
commit
d6950c27bb
|
@ -94,7 +94,7 @@ export default class PropertyValueElement extends React.Component<Props, State>
|
|||
)
|
||||
}
|
||||
|
||||
if (propertyTemplate.type === 'text' || propertyTemplate.type === 'number') {
|
||||
if (propertyTemplate.type === 'text' || propertyTemplate.type === 'number' || propertyTemplate.type === 'email') {
|
||||
if (!readOnly) {
|
||||
return (
|
||||
<Editable
|
||||
|
|
|
@ -104,6 +104,11 @@ class PropertyMenu extends React.PureComponent<Props, State> {
|
|||
name='Number'
|
||||
onClick={() => this.props.onTypeChanged('number')}
|
||||
/>
|
||||
<Menu.Text
|
||||
id='email'
|
||||
name='Email'
|
||||
onClick={() => this.props.onTypeChanged('email')}
|
||||
/>
|
||||
<Menu.Text
|
||||
id='select'
|
||||
name='Select'
|
||||
|
|
Loading…
Reference in New Issue
Block a user