Skip to content

Remove unused required config values from payment layoutset. #2316

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

Open
Magnusrm opened this issue Aug 19, 2024 · 1 comment
Open

Remove unused required config values from payment layoutset. #2316

Magnusrm opened this issue Aug 19, 2024 · 1 comment

Comments

@Magnusrm
Copy link
Contributor

Magnusrm commented Aug 19, 2024

Description

The studio team has had trouble explaining why some fields needs to be set while creating a UI for configuring payment.
Specifically the field "dataModel" in layout-sets.json should at least be optional, since you in most cases will not use any data from a datamodel directly in you layout. This property is per now required in order to avoid crashing the app.

Additional Information

The property was first introduced for payment as a result of re-using the config and process handling from the data-task.

image

Tasks

No response

Acceptance Criterias

No response

@Magnusrm Magnusrm added the status/draft Status: When you create an issue before you have enough info to properly describe the issue. label Aug 19, 2024
@Magnusrm Magnusrm moved this to 📈 Todo in Team Apps Aug 19, 2024
@olemartinorg olemartinorg removed status/draft Status: When you create an issue before you have enough info to properly describe the issue. status/triage labels Mar 19, 2025
@olemartinorg
Copy link
Contributor

Related:

Quoting from the issue:

We should support not specifying a default data type for a layout-set in general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📈 Todo
Development

No branches or pull requests

2 participants