File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,11 @@ export default {
486486 const fallbackMeta = commonProps[prop] || {}
487487 const description =
488488 typeof meta .description === ' undefined' ? fallbackMeta .description : meta .description
489+ // TODO:
490+ // Can we auto-detect this by doing a lookup in the
491+ // default settings or determine if the prop default
492+ // value came from the settings?
493+ const settings = meta .settings || false
489494 const version = typeof meta .version === ' undefined' ? fallbackMeta .version : meta .version
490495
491496 return {
@@ -494,7 +499,7 @@ export default {
494499 defaultValue,
495500 required: p .required || false ,
496501 description: description || ' ' ,
497- settings: meta . settings || false ,
502+ settings,
498503 version,
499504 xss: / [a-z ] Html$ / .test (prop),
500505 isVModel: this .componentVModel && this .componentVModel .prop === prop,
You can’t perform that action at this time.
0 commit comments