File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/components/atoms/input Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ import HInput from './input.vue';
9999 template: `
100100 <div>
101101 <h-input type="text" icon="fas fa-user" behavior="default" placeholder="default" />
102- <h-input type="text" icon="fas fa-user" behavior=" block" placeholder="block" />
102+ <h-input type="text" icon="fas fa-user" block placeholder="block" />
103103 <h-input type="text" icon="fas fa-user" is-disabled placeholder="is-disabled" />
104104 </div>
105105 ` ,
Original file line number Diff line number Diff line change 66 [`h-input--behavior-${behavior}`]: behavior != 'default',
77 [`h-input--behavior-has-error`]: _hasError,
88 [`h-input--behavior-is-disabled`]: isDisabled,
9+ [`h-input--behavior-block`]: block,
910 [`h-input--icon-left`]: iconLeft,
1011 [`h-input--icon-right`]: iconRight,
1112 [`h-input--size-${size}`]: size,
@@ -76,6 +77,10 @@ export default {
7677 ' block' ,
7778 ]),
7879 },
80+ block: {
81+ type: Boolean ,
82+ default: false ,
83+ },
7984 value: {
8085 type: [String , Number ],
8186 default: null ,
You can’t perform that action at this time.
0 commit comments