bernardodemarco opened a new pull request, #9683:
URL: https://github.com/apache/cloudstack/pull/9683

   ### Description
   
   When manipulating VM and template settings, the UI provides a dropdown with 
the available setting names and values. However, if a user first adds a setting 
and then tries to add another, the dropdown only shows the previously added 
setting's name and value.
   
   Furthermore, whenever the user types a character into the setting name input 
field, a Vue warning is thrown in the console, stating that an incorrect value 
type has been passed to the `options` prop of the `a-auto-complete` component.
   
   Therefore, this PR improves VM and template settings filtering by always 
displaying the available setting names and their values, even when a setting 
has already been added. Besides that, the Vue warning has been properly fixed.
   
   ---
   
   Fixes #8074
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [X] Trivial
   
   ### Screenshots (if appropriate):
   
   
![image](https://github.com/user-attachments/assets/8f8b851a-919e-4f98-b135-7760d68a2185)
   
   
![image](https://github.com/user-attachments/assets/415ad6d9-1cf6-4af5-a194-c1116eed967f)
   
   ### How Has This Been Tested?
   
   1. When adding the first setting of a VM/template, I verified that all 
available setting names and their values were displayed correctly in the 
dropdowns.
   2. I then added another setting, and all available setting names and their 
values were also displayed correctly.
   3. When typing the setting name in the input field, I confirmed that no 
warnings were thrown.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to