Hi,
I am using below code to display rectangle over dynamic form then user focuses in one of the form`s field, it works okay except if field is SelectItem, ComboBoxItem or DatePicker, it looks like DynamicForm is loosing focus then I click on one of these fields.
Is it expected behavior? As it seems like DynamicForm will stay focused then its field gets focus, but miss focus then field opens another component. Shouldn't focus be set on all elements DynamicForm, field & drop down component? From sources I cannot find out how yours focus management works. Is there any docs?
Thanks.
I am using below code to display rectangle over dynamic form then user focuses in one of the form`s field, it works okay except if field is SelectItem, ComboBoxItem or DatePicker, it looks like DynamicForm is loosing focus then I click on one of these fields.
Is it expected behavior? As it seems like DynamicForm will stay focused then its field gets focus, but miss focus then field opens another component. Shouldn't focus be set on all elements DynamicForm, field & drop down component? From sources I cannot find out how yours focus management works. Is there any docs?
Thanks.
Code:
dynamicForm.focusChanged = function (hasFocus) {
layout.setBorder(hasFocus ? "1px solid #D8D8D8" : "1px solid #000000");
};