Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1298

Support restricted lists for @Proposable

Details

    • All
    • TDC-1881
    • Small

    Description

      actual

      tacokit doesn't provide restricted option on some datalists. This option avoid to submit the search on the component Datalist.
      When the user type a value and this value isn't in the authorized value, the value is kept. This value is often used to the search in the datalist.

      expected

      provide restricted: true on the uischema configuration for the field

      example, now we have for a JDBC connection, the trigger, after select one connection, return on the payload, (uiSchema), this information ("restricted": false):

      
      {
      				"widget": "datalist",
      				"restricted": false,
      				"placeholder": "dbType",
      				"title": "Database",
      				"titleMap": [],
      				"key": "configuration.dbType",
      				"required": true
      			}
      

      we should have:

      {
      				"widget": "datalist",
      *				"restricted": true,*
      				"placeholder": "dbType",
      				"title": "Database",
      				"titleMap": [],
      				"key": "configuration.dbType",
      				"required": true
      			}
      
      connection, dataset with this problem.
      • JDBC connection field dbType

      check all fields on all components with a datalist widget

      Additionnal content

      • also impacts other fields like Field Delimiter when you hit "Comma" instead of selecting it from the list
      • so we will need to check fully any field in these forms

      Attachments

        Activity

          People

            rmannibucau Romain Manni-Bucau
            jare Jean-Alain Ré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: