Skip to content

Commit

Permalink
adding custom schema fields
Browse files Browse the repository at this point in the history
  • Loading branch information
MelsHyrule committed May 6, 2022
1 parent d621b84 commit f66ad8b
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,21 @@ def params_for_update
}
end

def params_for_attach
{
:fields => [
{
:component => 'text-field',
:name => 'device_mountpoint',
:id => 'device_mountpoint',
:label => _('Device Mountpoint'),
:isRequired => true,
:validate => [{:type => 'required'}],
},
]
}
end

private

def modify_volume_options(options = {})
Expand Down

0 comments on commit f66ad8b

Please sign in to comment.