• Matthew Taylor's avatar
    Use empty default object · 6db426a5
    Matthew Taylor authored
    Looks as if the having one of these objects as the default causes overwriting in some way, as opposed to augmentation. Have the source object be an empty one, so that it gets the attributes of both defaults and props. Fixes #642.
    6db426a5
validations.jsx 1.51 KB