keystonejs/keystone-classic

Field type 'Datetime' - format customization missing

Open

#3160 opened on Jul 14, 2016

View on GitHub
 (8 comments) (1 reaction) (0 assignees)JavaScript (14,656 stars) (2,288 forks)batch import
4.x candidatebughelp wanted

Description

There is no working way to specify the format of Datetime. Also the placeholder is hardcoded in DatetimeField.js

<FormInput name={this.props.paths.time} value={this.state.timeValue} placeholder="HH:MM:SS am/pm" onChange={this.timeChanged} autoComplete="off" />

Contributor guide