ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

field display_type property "textarea" being shown as regular input field in update view #277

Closed odra closed 6 years ago

odra commented 6 years ago

Hello,

I have defined the following parameter in my apb plan:

-
  name: ANDROID_SDK_CONFIG
  type: string
  display_type: textarea
  description: "Android SDK config in INI format"
  title: Android SDK config
  required: False
  updatable: True

The field is shown as a textarea html field when provisioning a new service but it is shown as a regular input html field when I click on the "edit" button in the service details:

screenshot from 2018-05-01 12-29-04

djzager commented 6 years ago

@dymurray you likely know better than me, is this an issue that should be raised against https://github.com/openshift/origin-web-console ?

rthallisey commented 6 years ago

@odra I looked at the "Blank Virtual Machine APB" in the service-catalog and textarea doesn't get this issue. Here's what the code for it looks like: https://github.com/ansibleplaybookbundle/virtualmachines-apb/blob/master/apb.yml#L28-L32

If the issue persists, open an issue with the web-console more visibility.

odra commented 6 years ago

@rthallisey that field is not updatable, the problem only shows up in the update-catalog view.

Will open an issue in the web-console repo anyway.

Thanks.