fixes #7336 - editing compute resource should not clear existing attributes from the form

Okay.  Could you remove the copy of the validator code, it's not really necessary and might either get out of sync or come up when grepping source code - just describe it.