Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    12.0p: HTML autocomplete has space at the end when using autoCompleteKeywords: ["new-password"]

    Hi Isomorphic,

    I don't know if it is on purpose or has any negative impact, but experimenting with FormItem.autoCompleteKeywords I noticed, that the generated HTML has an extra space at the end.

    Please see this modified sample (v12.0p_2019-11-25):
    Code:
    isc.DynamicForm.create({
        width: 250,
        fields: [
            {name: "username",
             title: "Username",
             type: "text",
             required: true,
             defaultValue: "bob"
            },
            {name: "email",
             title: "Email",
             required: true,
             type: "text",
             defaultValue: "bob@isomorphic.com"
            },
            {name: "password",
             title: "Password",
             required: true,
    [B]autoCompleteKeywords: ["new-password"],[/B]
             type: "password",
             validators: [{
                type: "matchesField",
                otherField: "password2",
                errorMessage: "Passwords do not match"
             }]
            },
            {name: "password2",
             required: true,
             wrapTitle: false,
             title: "Password again",
             type: "password"
            },
            {name: "createAccount",
             title: "Create Account",
             type: "button",
             click: "form.validate()"
            }
        ]
    });
    The resulting HTML is:
    Click image for larger version

Name:	PWField-autocomplete.png
Views:	105
Size:	7.9 KB
ID:	260134

    Best regards
    Blama

    #2
    We've addressed this for builds dated November 27 and later.

    Comment


      #3
      Hi Isomorphic,

      I can see this is fixed using v12.0p_2019-11-27.

      Best regards
      Blama

      Comment

      Working...
      X