Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2015

The configuration of a validator as JSON object should be pass to the field configuration

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.0M7
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      For exemple :

      Ext.create ("MyWidget", {
            name: "datasource",
            fieldLabel: "Source de données",
            mandatory: true,
            validationConfig: {
                   mandatory: true,
                   allowedDbTypes: ['derby', 'mysql']
            }
      });
      

      For now, it is impossible because we need JSONUtils to convert the configuration into a JSON string (see RUNTIME-2013)

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: