user3775501

1

votes
1

answer
180

views

Can't get Connected React Router set up properly

I'm trying to update to connected-react-router while updating all my React, Redux and Router versions. I am having trouble with the root reducer and store creation. The previous reducer code that was working was... const appReducer = combineReducers({...reducers, router: connectRouter}); export c...
user3775501
4

votes
2

answer
10k

views

Can't programmatically select option using Select2

I have a Select2 working fine attached to a select list but when someone enters a new item and I rebind the select list and try to programmatically select the new item, it refuses to display. There are a number of other posts re this but their solutions don't work for me. Use .select2('val', value...
user3775501