Error when creating new room
sanjan opened this issue · 3 comments
sanjan commented
refocus/view/rooms/new/FormController.js
Line 279 in 57e08ba
Getting this error on chrome when I click on the drop down list to select room type when creating a new room
FormController.js:279 Uncaught TypeError: Cannot read property 'split' of undefined
at t.value (FormController.js:279)
at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:796)
at ReactCompositeComponentWrapper._renderValidatedComponent (ReactCompositeComponent.js:819)
at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js:743)
at ReactCompositeComponentWrapper._performComponentUpdate (ReactCompositeComponent.js:721)
at ReactCompositeComponentWrapper.updateComponent (ReactCompositeComponent.js:642)
at ReactCompositeComponentWrapper.performUpdateIfNecessary (ReactCompositeComponent.js:558)
at Object.performUpdateIfNecessary (ReactReconciler.js:154)
at runBatchedUpdates (ReactUpdates.js:148)
at ReactReconcileTransaction.perform (Transaction.js:141)
value @ FormController.js:279
_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:796
_renderValidatedComponent @ ReactCompositeComponent.js:819
_updateRenderedComponent @ ReactCompositeComponent.js:743
_performComponentUpdate @ ReactCompositeComponent.js:721
updateComponent @ ReactCompositeComponent.js:642
performUpdateIfNecessary @ ReactCompositeComponent.js:558
performUpdateIfNecessary @ ReactReconciler.js:154
runBatchedUpdates @ ReactUpdates.js:148
perform @ Transaction.js:141
perform @ Transaction.js:141
perform @ ReactUpdates.js:87
flushBatchedUpdates @ ReactUpdates.js:170
closeAll @ Transaction.js:207
perform @ Transaction.js:154
batchedUpdates @ ReactDefaultBatchingStrategy.js:60
batchedUpdates @ ReactUpdates.js:95
dispatchEvent @ ReactEventListener.js:145
cassiodias commented
Have u created a room type?
sanjan commented
@cassiodias yes I had a room type created. And I could see it in the dropdown and select it. however this error is thrown when I click on another field or press any key and the selection in the drop down list for room type gets reset.
cassiodias commented
So looks like you need to add "settings" - I am gonna create an internal story to fix that.