Comparing version 0.3.37 to 0.3.38
@@ -25,2 +25,9 @@ // # choice component | ||
sampleString: function sampleString(sample) { | ||
if (typeof sample === 'boolean') { | ||
return String(sample); | ||
} | ||
return sample; | ||
}, | ||
renderDefault: function renderDefault() { | ||
@@ -40,3 +47,3 @@ var choice = this.props.choice; | ||
{ className: 'choice-sample' }, | ||
choice.sample | ||
this.sampleString(choice.sample) | ||
) | ||
@@ -43,0 +50,0 @@ ); |
{ | ||
"name": "formatic", | ||
"version": "0.3.37", | ||
"version": "0.3.38", | ||
"description": "Automatic, pluggable form generation", | ||
@@ -5,0 +5,0 @@ "main": "./build/lib/formatic", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207877
5878