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):
The resulting HTML is:
Best regards
Blama
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()" } ] });
Best regards
Blama
Comment