homeflowjs 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -108,12 +108,14 @@ class LocationInput extends Component {
108
108
  clearButton,
109
109
  clearButtonClassName,
110
110
  pattern,
111
+ name,
111
112
  } = this.props;
112
113
 
113
114
  const inputProps = {
114
115
  pattern,
115
116
  placeholder,
116
117
  value: q,
118
+ name,
117
119
  onChange: this.onLocationChange,
118
120
  };
119
121
 
@@ -131,7 +133,6 @@ class LocationInput extends Component {
131
133
  className,
132
134
  'data-testid': 'location-input',
133
135
  id: 'search-location-input',
134
- name: 'Location search',
135
136
  }}
136
137
  containerProps={{ 'data-testid': 'suggestions' }}
137
138
  theme={autosuggestTheme}
@@ -161,6 +162,7 @@ LocationInput.propTypes = {
161
162
  searchOnSelection: PropTypes.bool,
162
163
  clearButton: PropTypes.bool,
163
164
  clearButtonClassName: PropTypes.string,
165
+ name: PropTypes.string,
164
166
  };
165
167
 
166
168
  LocationInput.defaultProps = {
@@ -171,6 +173,7 @@ LocationInput.defaultProps = {
171
173
  searchOnSelection: false,
172
174
  clearButton: false,
173
175
  clearButtonClassName: '',
176
+ name: 'Location search',
174
177
  };
175
178
 
176
179
  const mapStateToProps = (state) => ({