attributes:
  metadata:
    label: "Database settings"
    weight: 90
  # Gathering variables from user about our DCP
  yaml_additional_config:
    type: "textarea"
    weight: 52
    value: |
      #Uncomment to enable remote DB:
      #remote_db: '10.20.99.1'
      #remote_db_password: 'secret'
      custom_mysql_setup_class: 'galera'
    label: "Additional config"
    description: "Just put here valid yaml" 

attributes:
  metadata:
    label: "Database settings"
    weight: 90
  # Gathering variables from user about our DCP
  yaml_additional_config:
    type: "textarea"
    weight: 52
    value: |
      #Uncomment to enable remote DB:
      #remote_db: '10.20.99.1'
      #remote_db_password: 'secret'
      custom_mysql_setup_class: 'galera'
    label: "Additional config"
    description: "Just put here valid yaml"
    regex:
      source: '.+'
      error: "This field should not be empty"

Add validation on emptyness of additional config
Add validation on emptyness of additional config

- We need to validate additional config textarea
on empty values

Change-Id: I9ec16da7ff92a0f147dc2cde8671d3144ad28344
Related-Bug: #1488455
