Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Commit

Permalink
Fix text-area meta
Browse files Browse the repository at this point in the history
ref #24
  • Loading branch information
Sneki committed Jul 6, 2018
1 parent b4e1091 commit 39afd36
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 79 deletions.
3 changes: 1 addition & 2 deletions dev/data/page.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@
"label": "Personal Data",
"prependIcon": "person",
"appendIcon": null,
"rowHeight": 22,
"rows": 5,
"rows": 2,
"autoGrow": false,
"outline": false,
"clearable": true,
Expand Down
1 change: 0 additions & 1 deletion src/components/CTextArea/CTextArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const getProps = (context) => {
label: config.label,
autoGrow: config.autoGrow,
outline: config.outline,
rowHeight: config.rowHeight,
rows: config.rows,
color: config.color,
dark: context.isThemeDark,
Expand Down
18 changes: 6 additions & 12 deletions src/components/CTextArea/index.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ export default {
type: 'check',
name: 'Auto Grow',
value: false,
priority: 5,
},
placeholder: {
type: 'input',
name: 'Placeholder Text',
value: false,
priority: 6,
},
outline: {
Expand All @@ -81,29 +75,29 @@ export default {
value: false,
priority: 7,
},
rowHeight: {
rows: {
type: 'input',
name: 'Row Height',
name: 'Number of Rows',
value: 5,
priority: 8,
priority: 5,
},
tooltip: {
type: 'input',
name: 'Tooltip Text',
value: null,
priority: 9,
priority: 8,
},
clearable: {
type: 'check',
name: 'Enable Input Reset',
value: false,
priority: 10,
priority: 9,
},
disabled: {
type: 'check',
name: 'Disable Input',
value: false,
priority: 12,
priority: 10,
},
validation: {
type: 'group',
Expand Down
1 change: 1 addition & 0 deletions src/components/index.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { default as table } from './CTable/index.meta';
export { default as tabs } from './CTabs/index.meta';
export { default as tags } from './CTags/index.meta';
export { default as text } from './CText/index.meta';
export { default as textArea } from './CTextArea/index.meta';
export { default as video } from './CVideo/index.meta';
export { default as videoStream } from './CVideoStream/index.meta';
export { default as vlist } from './CVlist/index.meta';
Expand Down
Loading

0 comments on commit 39afd36

Please sign in to comment.