You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see All demos's options config is static,when options change,my components cleave can not monitor this change。
( cleaveOptions may change , the first cleaveOptions is {
time: true,
timePattern:['h', 'm'],
},
when it changes to {
time: true,
timePattern:['h', 'm', 's'],
}
cleave cannot monitor this change
)
I see All demos's options config is static,when options change,my components cleave can not monitor this change。
( cleaveOptions may change , the first cleaveOptions is {
time: true,
timePattern:['h', 'm'],
},
when it changes to {
time: true,
timePattern:['h', 'm', 's'],
}
cleave cannot monitor this change
)
my code here:
const { cleaveOptions } = this.props
render(){
<Cleave
weId={
${this.props.weId || ''}_fqke2f
}{...restProps}
readOnly={inputReadOnly || readOnly}
type={type}
className={cls}
value={mergedValue}
// onInit={this.setCleaveRef}
options={cleaveOptions}
// ref={this.saveCleaveInput}
htmlRef={this.saveInput}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
onKeyDown={this.handleKeyDown}
onChange={this.handleChange}
onCompositionStart={this.handleCompositionStart}
onCompositionEnd={this.handleCompositionEnd}
/>
}
The text was updated successfully, but these errors were encountered: