MCPcopy Create free account
hub / github.com/microsoft/SandDance / _shouldValidateAllChanges

Function _shouldValidateAllChanges

docs/app/js/sanddance-app.js:50086–50088  ·  view source on GitHub ↗

* If `validateOnFocusIn` or `validateOnFocusOut` is true, validation should run **only** on that event. * Otherwise, validation should run on every change.

(props)

Source from the content-addressed store, hash-verified

50084 * If `validateOnFocusIn` or `validateOnFocusOut` is true, validation should run **only** on that event.
50085 * Otherwise, validation should run on every change.
50086 */ function _shouldValidateAllChanges(props) {
50087 return !(props.validateOnFocusIn || props.validateOnFocusOut);
50088}
50089// Only calculate this once across all TextFields, since will stay the same
50090var __browserNeedsRevealButton;
50091function _browserNeedsRevealButton() {

Callers 1

sanddance-app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected