keystonejs/keystone-classic

Field type 'Datetime' - format customization missing

Open

#3 160 ouverte le 14 juil. 2016

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)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" />

Guide contributeur