keystonejs/keystone-classic

Field type 'Datetime' - format customization missing

Aperta

#3160 aperta il 14 lug 2016

 (8 commenti) (1 reazione) (0 assegnatari)JavaScript (2288 fork)batch import
4.x candidatebughelp wanted

Metriche repository

Star
 (14.656 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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" />

Guida contributor