We have a requirement to exclude a radio group from the tab order.
I tried to set "tabIndex" of the RadioGroupItem to -1.
Seems like it's working fine with checkboxes and buttons, but not with radio group. It excludes it from the tab order WITHIN the form, but comes back to the item after all items on the page.
In this sample, it focuses on the radio group items after the Validate button:
I also tried setting other properties:
canFocus=false,
itemProperties: {tabIndex:-1, canFocus:false}
but nothing helps.
I tried to set "tabIndex" of the RadioGroupItem to -1.
Seems like it's working fine with checkboxes and buttons, but not with radio group. It excludes it from the tab order WITHIN the form, but comes back to the item after all items on the page.
In this sample, it focuses on the radio group items after the Validate button:
Code:
isc.DynamicForm.create({ ID: "boundForm", dataSource: "users", useAllDataSourceFields: true, fields: [ {type:"header", defaultValue:"Registration Form"}, {name: "password"}, {name: "password2", title: "Password Again", type: "password", required: true, length: 20, validators: [{ type: "matchesField", otherField: "password", errorMessage: "Passwords do not match" }] }, {name: "acceptTerms", title: "I accept the terms of use.", type: "radioGroup", required: true, width: "150", isBoolean:true, valueMap:{"true":"True", "false": "False"}, tabIndex:-1}, {name: "validateBtn", title: "Validate", type: "button", click: "form.validate()"} ], values : { firstName: "Bob", email: "bob@.com", password: "sekrit", password2: "fatfinger" } });
canFocus=false,
itemProperties: {tabIndex:-1, canFocus:false}
but nothing helps.
Comment