From 5c8e4761afe1001d53fe91f51aabbb4e04e41d1e Mon Sep 17 00:00:00 2001 From: Matt Gardner Date: Tue, 19 May 2020 12:47:27 -0400 Subject: [PATCH] [DOC] Update documentation around behavior of attr Updates some of the language around how defaultValue behaves. --- packages/model/addon/-private/attr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/model/addon/-private/attr.js b/packages/model/addon/-private/attr.js index b0af18dda68..30e00be13fb 100644 --- a/packages/model/addon/-private/attr.js +++ b/packages/model/addon/-private/attr.js @@ -42,7 +42,7 @@ function hasValue(internalModel, key) { supported options are: - `defaultValue`: Pass a string or a function to be called to set the attribute - to a default value if none is supplied. + to a default value if and only if the key is absent from the payload response. Example