Skip to content

Commit

Permalink
Merge pull request #672 from skateman/snapshot-description-req
Browse files Browse the repository at this point in the history
Make the snapshot description field required
  • Loading branch information
agrare authored Jan 4, 2021
2 parents 1f27011 + ff2baa2 commit b294f0d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/models/manageiq/providers/openstack/cloud_manager/vm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,12 @@ def params_for_create_snapshot
:validate => [{:type => 'required'}],
},
{
:component => 'textarea',
:name => 'description',
:id => 'description',
:label => _('Description'),
:validate => [{:type => 'required'}],
:component => 'textarea',
:name => 'description',
:id => 'description',
:label => _('Description'),
:isRequired => true,
:validate => [{:type => 'required'}],
},
],
}
Expand Down

0 comments on commit b294f0d

Please sign in to comment.