Skip to content
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

Disable delete button when there is no expression for dynamic in config panel #14775

Open
JamalAlabdullah opened this issue Feb 21, 2025 · 0 comments
Assignees
Labels
added-to-sprint area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. frontend solution/studio/designer Issues related to the Altinn Studio Designer solution. team/studio-domain2

Comments

@JamalAlabdullah
Copy link
Contributor

JamalAlabdullah commented Feb 21, 2025

Description

In the config panel's dynamic choice section, we should disable the delete icon button as long as no expression has been added.

What

  • Disable the delete icon button as long as no expression has been added

Why

  • No need to show a native confirmation message because nothing will happen when clicking delete if no expressions are added.

Additional Information

Screen.Recording.2025-02-21.at.15.39.57.mov

Open questions

Tasks

Acceptance criterias

@JamalAlabdullah JamalAlabdullah moved this to 📈 Todo in Team Studio Feb 21, 2025
@JamalAlabdullah JamalAlabdullah changed the title disable delete button when there is no expression for dynamic in config panel Disable delete button when there is no expression for dynamic in config panel Feb 21, 2025
@JamalAlabdullah JamalAlabdullah moved this from 📈 Todo to 👷 In Progress in Team Studio Feb 21, 2025
@JamalAlabdullah JamalAlabdullah added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. frontend solution/studio/designer Issues related to the Altinn Studio Designer solution. labels Feb 21, 2025
@JamalAlabdullah JamalAlabdullah self-assigned this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added-to-sprint area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. frontend solution/studio/designer Issues related to the Altinn Studio Designer solution. team/studio-domain2
Projects
Status: 👷 In Progress
Development

No branches or pull requests

1 participant