MCPcopy
hub / github.com/gcanti/tcomb-form-native / getValidationOptions

Method getValidationOptions

lib/components.js:97–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 getValidationOptions() {
98 return {
99 path: this.props.ctx.path,
100 context: t.mixin(
101 t.mixin({}, this.props.context || this.props.ctx.context),
102 { options: this.props.options }
103 )
104 };
105 }
106
107 getValue() {
108 return this.getTransformer().parse(this.state.value);

Callers 4

pureValidateMethod · 0.95
getErrorMethod · 0.95
validateMethod · 0.80
validateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected