List earlier date earlier than upper date
This commit is contained in:
parent
f96756f283
commit
07165361b3
@ -61,18 +61,6 @@ class YearDataEntry extends Component<YearDataEntryProps, any> {
|
||||
verified_count={props.verified_count}
|
||||
/>
|
||||
|
||||
<NumericDataEntry
|
||||
title={dataFields.date_upper.title}
|
||||
slug="date_upper"
|
||||
value={props.upper}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
step={1}
|
||||
min={1}
|
||||
max={currentYear}
|
||||
tooltip={dataFields.date_upper.tooltip}
|
||||
/>
|
||||
<NumericDataEntry
|
||||
title={dataFields.date_lower.title}
|
||||
slug="date_lower"
|
||||
@ -85,6 +73,19 @@ class YearDataEntry extends Component<YearDataEntryProps, any> {
|
||||
max={currentYear}
|
||||
tooltip={dataFields.date_lower.tooltip}
|
||||
/>
|
||||
|
||||
<NumericDataEntry
|
||||
title={dataFields.date_upper.title}
|
||||
slug="date_upper"
|
||||
value={props.upper}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
step={1}
|
||||
min={1}
|
||||
max={currentYear}
|
||||
tooltip={dataFields.date_upper.tooltip}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user