Removed 'disabledAutofill' prop from dropdown-question to match textbox-question and prevent the State label from being read incorrectly by JAWS
This commit is contained in:
parent
4bcfaab004
commit
54141b3272
2 changed files with 1 additions and 2 deletions
|
|
@ -38,7 +38,6 @@ export default {
|
||||||
},
|
},
|
||||||
isDisabled: Boolean,
|
isDisabled: Boolean,
|
||||||
isRequired: Boolean,
|
isRequired: Boolean,
|
||||||
disableAutoFill: Boolean,
|
|
||||||
validationRules: String,
|
validationRules: String,
|
||||||
cmsWidgetName: String,
|
cmsWidgetName: String,
|
||||||
hasError: Boolean,
|
hasError: Boolean,
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ describe("address-questions.vue", () => {
|
||||||
expect(wrapper.vm.$loadScript).not.toHaveBeenCalled();
|
expect(wrapper.vm.$loadScript).not.toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("address field is focused => disable autocomplete", async () => {
|
test("address field is focused => disable autofill", async () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
let focusEventCallbackFunction;
|
let focusEventCallbackFunction;
|
||||||
autocompleteElement.addEventListener = jest
|
autocompleteElement.addEventListener = jest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue