ember-strong-attrs icon indicating copy to clipboard operation
ember-strong-attrs copied to clipboard

[Enhancement] defaultValue for attrs?

Open elbeezi opened this issue 9 years ago • 0 comments

e.g. @optionalAttr('someProperty', String, { defaultValue: 'lullaby' })

This may be out of scope for a validation-focused addon, but it could bring this approach to component attrs more in line with model attrs.

elbeezi avatar Sep 03 '15 19:09 elbeezi