Blame view

imports/modules/get-input-value.js 162 Bytes
7df77f0fa   tmcdeveloper   finish wiring up ...
1
2
3
4
  export const getInputValue = ( component, ref, nested ) => {
    let element = component.refs[ ref ];
    return nested ? element.refs.input.value : element.value;
  }