PL-8900 Unable to focus table cell with PickerField using Table.requestFocus(item, "column")

This commit is contained in:
Yuriy Artamonov 2017-04-05 18:36:12 +04:00
parent 1bb15e692a
commit 87a8ef7ec8
3 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class CubaDateFieldWrapper extends com.vaadin.ui.CustomField {
setValidationVisible(false);
setShowBufferedSourceException(false);
setShowErrorForDisabledState(false);
setFocusDelegate(dateField.getDateField());
setPrimaryStyleName("c-datefield-composition");
}

View File

@ -105,6 +105,8 @@ public class CubaPickerField extends com.vaadin.ui.CustomField implements Action
ThemeConstants theme = App.getInstance().getThemeConstants();
setWidth(theme.get("cuba.web.CubaPickerField.width"));
}
setFocusDelegate(field);
}
protected void initTextField() {

View File

@ -48,6 +48,7 @@ public class CubaResizableTextAreaWrapper extends CustomField {
setValidationVisible(false);
setShowBufferedSourceException(false);
setShowErrorForDisabledState(false);
setFocusDelegate(textArea);
CubaResizableTextAreaWrapperServerRpc rpc = new CubaResizableTextAreaWrapperServerRpc() {
String oldWidth;