For the sake of coding additional fields in the future, Field JSX classes should be consistent in implementation of properties such as componentWillMount and componentWillReceiveProps.
[ ] Add setValue function to handle transition between different states
[ ] setValue should determine validity based on passed props object
[ ] Move console.* functions to after initial variable declarations in each function
[ ] Variable declarations with undefined values should proceed those with defined values.
[ ] Reorganize method in this order: getInitialState, componentWillMount, componentWillReceiveProps, setValue, onXChange, [other functions], render
[ ] getInitialState should return value as an empty string instead of null when the field is empty (unless otherwise required by the component)
[ ] State values like status, display, and displayState should be condensed to one or two consistently-utilized terms
[ ] Use block comments for information instead of //
For the sake of coding additional fields in the future, Field JSX classes should be consistent in implementation of properties such as
componentWillMount
andcomponentWillReceiveProps
.setValue
function to handle transition between different statessetValue
should determine validity based on passed props objectconsole.*
functions to after initial variable declarations in each functiongetInitialState
,componentWillMount
,componentWillReceiveProps
,setValue
,onXChange
,[other functions]
,render
getInitialState
should returnvalue
as an empty string instead of null when the field is empty (unless otherwise required by the component)status
,display
, anddisplayState
should be condensed to one or two consistently-utilized terms