Trim leading and trailing whitespaces for all fields on AWS/OVF Installation wizard

Description

  1. Install ami

  2. Open AWS Installation Wizard

  3. Add whitespace and then add correct AMI id
    Result: Error message appears "*Must be correct instance id"
    Expected result: No error message. Leading and trailing whitespaces should be ignored

Another problem appears if user set up username or password with whitespaces, for example, "1 ", in this case pmm-client can't connect to PMM server with credentials:

 

 

TODO:  automatically trim fields in Wizard 

 

(additionally we'll improve our common interaction with backend (UX)  in another issue )

How to test

None

How to document

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Priority

Components

Fix versions

Affects versions

Smart Checklist

Created April 4, 2018 at 6:18 AM
Updated July 11, 2018 at 5:25 PM
Resolved April 20, 2018 at 3:53 PM