Ben Ahlander
Ben Ahlander
map.addControl( new MapboxGeocoder({ accessToken: mapboxgl.accessToken, mapboxgl: mapboxgl, getItemValue: e => { console.log(e); } }) ); e contains everything you could want to know about the selected location
Here is a working example ` map.addControl( new MapboxGeocoder({ accessToken: mapboxgl.accessToken, mapboxgl: mapboxgl, getItemValue: ({ center, place_name }) => { Api.logUserGeoSearch(center[1], center[0], place_name); return place_name; } }) );`
Can be done with lodash debounce const createReduxForm = reduxForm({ form: 'listingForm', onChange: Lodash.debounce(onChange, 500), validate: validation_all, });
SignIn = () => { console.log('login clicked') let data = JSON.stringify({ password: this.state.password, username: this.state.email }) axios.post('url', data, { headers: { 'Content-Type': 'application/json', } } ) }
SignIn = () => { console.log('login clicked') let data = JSON.stringify({ password: this.state.password, username: this.state.email }) axios.post('url', data, { headers: { 'Content-Type': 'application/json', } } ) }
```` SignIn = () => { console.log('login clicked') let data = JSON.stringify({ password: this.state.password, username: this.state.email }) axios.post('url', data, { headers: { 'Content-Type': 'application/json', } } ) } ```
This seems to have worked for me (we are using material ui with redux form) ```jsx ``` "new-password" works if the input is type="password "off" works if its a regular...
This seems to have worked for me (we are using material ui with redux form) "new-password" works if the input is type="password "off" works if its a regular text field...
> @vikrantRajan within Amplify Console - Advanced Settings you can configure the version of Amplify CLI used for your CI/CD builds: >  This worked for me once I kicked...