Get the value from the given state and props (converting from number to string if needed)
(props, state)
| 50075 | return TextFieldBase1; |
| 50076 | }(_react.Component); |
| 50077 | /** Get the value from the given state and props (converting from number to string if needed) */ function _getValue(props, state) { |
| 50078 | var _a = props.value, value = _a === void 0 ? state.uncontrolledValue : _a; |
| 50079 | if (typeof value === "number") // not allowed per typings, but happens anyway |
| 50080 | return String(value); |
| 50081 | return value; |
| 50082 | } |
| 50083 | /** |
| 50084 | * If `validateOnFocusIn` or `validateOnFocusOut` is true, validation should run **only** on that event. |
| 50085 | * Otherwise, validation should run on every change. |
no outgoing calls
no test coverage detected