Skip to content

Add defaultValue option to variables in text #1440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #1660
mikaelrss opened this issue Sep 8, 2023 · 2 comments · Fixed by #1441
Closed
Tracked by #1660

Add defaultValue option to variables in text #1440

mikaelrss opened this issue Sep 8, 2023 · 2 comments · Fixed by #1441
Assignees
Labels
fe-v4 Issues to be solved before v4 goes gold kind/feature-request New feature or request

Comments

@mikaelrss
Copy link
Contributor

Description

I would like there to be an option to set a default value in variables in text resources. This would allow us to provide sensible default whenever the data model returns a null value for a given path.

Additional Information

Related issue: #754. The issue that is reported here can be resolved by providing empty strings as default values.

@olemartinorg
Copy link
Contributor

Duplicate of #754?

@mikaelrss
Copy link
Contributor Author

Yeah. I added #754 as a related issue because I was unsure whether providing a defaultValue would be a sufficient solution for the behavior that was reported.

@mikaelrss mikaelrss moved this from 🏗 In progress to 👀 In review in Digital gravferdsmelding Sep 11, 2023
@HanneLauritsen1967 HanneLauritsen1967 moved this from 👷 In Progress to 🔎 Review in Team Apps Sep 12, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Digital gravferdsmelding Sep 14, 2023
@olemartinorg olemartinorg moved this from 🔎 Review to 🧪 Test in Team Apps Sep 14, 2023
@tjololo tjololo moved this from 🧪 Test to ✅ Done in Team Apps Sep 20, 2023
@olemartinorg olemartinorg added the fe-v4 Issues to be solved before v4 goes gold label Sep 25, 2023
@RonnyB71 RonnyB71 mentioned this issue Nov 22, 2023
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fe-v4 Issues to be solved before v4 goes gold kind/feature-request New feature or request
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants