Skip to content

Commit

Permalink
ver. 0.2.34
Browse files Browse the repository at this point in the history
  • Loading branch information
光弘 committed Jan 3, 2018
1 parent f733e73 commit 0f0293b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-form-field",
"version": "0.2.33",
"version": "0.2.34",
"description": "uxcore-form-field component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-form-field.git",
"author": "eternalsky",
Expand Down
2 changes: 1 addition & 1 deletion src/FormField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class FormField extends React.Component {
const me = this;
const gridLayout = me.props.gridLayout || me.props.jsxGridLayout;
const align = me.props.verticalAlign || me.props.jsxVerticalAlign;
return !align && Array.isArray(gridLayout);
return !align && Array.isArray(gridLayout) && gridLayout.length > 0;
}

renderTips() {
Expand Down

0 comments on commit 0f0293b

Please sign in to comment.