Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nested Editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Nested
Nested Editor
Merge requests
!44
Simplify Bootstrap styling of plexus-form
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Simplify Bootstrap styling of plexus-form
plexus-form-simplify
into
master
Overview
0
Commits
1
Changes
Merged
Martijn Vermaat
requested to merge
plexus-form-simplify
into
master
9 years ago
Overview
0
Commits
1
Changes
-
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f029f71d
1 commit,
9 years ago
+
18
−
56
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
src/scripts/components/forms/DateField.jsx
+
4
−
4
Options
@@ -22,9 +22,9 @@ var DateField = React.createClass({
this.setState({datePickerOpened: false});
},
handle
Change: function(date) {
on
Change: function(date) {
this.hideDatePicker();
this.props.
update(this.props.path, date,
date);
this.props.
onChange(
date);
},
render: function() {
@@ -51,7 +51,7 @@ var DateField = React.createClass({
<div className="dp-footer">
<div className="dp-footer-today" onClick={footerProps.gotoToday}>Today</div>
<div className="dp-footer-selected" onClick={footerProps.gotoSelected}>Go to selected</div>
<div className="dp-footer-clear" onClick={() => this.
handle
Change()}>Clear</div>
<div className="dp-footer-clear" onClick={() => this.
on
Change(
''
)}>Clear</div>
</div>
);
@@ -60,7 +60,7 @@ var DateField = React.createClass({
<div className="modal-body">
<DatePicker
date={this.props.value}
onChange={this.
handle
Change}
onChange={this.
on
Change}
footerFactory={footer} />
</div>
</Modal>
Loading