nuke-input
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -60,7 +60,7 @@ # Input Demo | ||
<View style={styles.demoBlock}> | ||
<Input multiple floatPlaceholder={false} maxRows={3} maxLength={250} onInput={this.checkLength} renderCount={true} type="text" placeholder="milti-line input label" /> | ||
<Input multiple floatPlaceholder={false} maxRows={3} maxLength={250} onInput={this.checkLength} renderCount={true} type="text" status="error" placeholder="milti-line input label" errorMessage="errorxxx" /> | ||
</View> | ||
<Page.Intro main="error"></Page.Intro> | ||
<View style={styles.demoBlock}> | ||
<Input multiple maxRows={8} value={this.state.value} onInput={this.checkLength} renderCount={false} errorMessage="error" renderError={true} renderClear={true} type="text" status={this.state.status2} placeholder="milti-line input label" /> | ||
<Input multiple maxRows={8} renderCount maxLength={250} value={this.state.value} onInput={this.checkLength} renderCount={false} errorMessage="error" renderError={true} renderClear={true} type="text" status={this.state.status2} placeholder="milti-line input label" /> | ||
</View> | ||
@@ -67,0 +67,0 @@ </Page> |
# Changelog | ||
## 1.0.35 / 2017-12-30 | ||
* [[f7031c1](http://gitlab.alibaba-inc.com/nuke/input/commit/f7031c11b907c4d15f4c9dd359cf9883c4673bcc)] - `fix` fix error message & count style conflict | ||
## 1.0.34 / 2017-12-29 | ||
@@ -5,0 +9,0 @@ |
@@ -171,2 +171,3 @@ 'use strict'; | ||
justifyContent: 'center', | ||
flexDirection: 'row', | ||
marginTop: Variables['md-help-margin-top'] | ||
@@ -176,3 +177,5 @@ }, | ||
color: Variables['md-error-text-color'], | ||
fontSize: Variables['md-error-text-font-size'] | ||
fontSize: Variables['md-error-text-font-size'], | ||
flex: 1, | ||
display: 'flex' | ||
}, | ||
@@ -313,3 +316,4 @@ 'web-normalize': { | ||
color: Variables['error-text-color'], | ||
fontSize: Variables['error-text-font-size'] | ||
fontSize: Variables['error-text-font-size'], | ||
flex: 1 | ||
}, | ||
@@ -316,0 +320,0 @@ 'error-input-wrap': { |
@@ -400,3 +400,4 @@ 'use strict'; | ||
autoAdjustHeight = _props5.autoAdjustHeight, | ||
hideErrorWhenFocus = _props5.hideErrorWhenFocus, | ||
_props5$hideErrorWhen = _props5.hideErrorWhenFocus, | ||
hideErrorWhenFocus = _props5$hideErrorWhen === undefined ? false : _props5$hideErrorWhen, | ||
renderCount = _props5.renderCount; | ||
@@ -403,0 +404,0 @@ var _state2 = this.state, |
{ | ||
"name": "nuke-input", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "输入框", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
139125
2007