* Expose constraints attribute in UI

Linked to issue #124 
You should likely trim each value in `constraintsArray` otherwise an input of `"unique:hostname, group_by:ip_address"`, for example, would end up with ` group_by` (with the leading space) and fail validation.