ui: add custom form for update template#5434
Conversation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Hi @shwstppr can you address the outstanding comments please. thanks. |
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@shwstppr Checked with KVM & VMware templates. I could see the keyboard type in the update template API call from UI, but it seems the API call is not including keyboard in details parameter (and so if any keyboard detail exists, it gets deleted). Please check. |
| const params = { | ||
| id: this.resource.id | ||
| } | ||
| const detailsField = ['rootDiskController', 'nicAdapter', 'keyboardType'] |
There was a problem hiding this comment.
| const detailsField = ['rootDiskController', 'nicAdapter', 'keyboardType'] | |
| const detailsField = ['rootDiskController', 'nicAdapter', 'keyboard'] |
May be, this is the issue with keyboard detail.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@sureshanaparti fixed the empty nicAdapter, keyboard behaviour. If no value is selected for these fields, detail will not be passed to the API and it will be removed for the template. |
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
ok @shwstppr , will check. thanks. |
|
@shwstppr I believe we need to disable / remove the templatetype field from the form when a user with User role logs in - |
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@Pearl1594 can you please try again |
640cf74 to
4ca5dc4
Compare
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Pearl1594
left a comment
There was a problem hiding this comment.
Tested as root admin and user - works as expected. LGTM


Description
Adds a custom UI form for updating a template with more options such as details.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?