Skip to content

Commit

Permalink
NumberInput默认关闭autoComplete (youzan#1056)
Browse files Browse the repository at this point in the history
* 添加布局的demo

* 修改Checkbox.Group实现,使其支持在Checkbox.Group中布局

* 修改Checkbox.Group对disabled及readOnly属性的处理逻辑,使其更加合理

当Checkbox.Group的disabled/readOnly为true时,它所包含的Checkobx的disabled/readOnly属性的值将被无视

* 使Radio.Group支持布局

* prettify format

* NumberInput组件应该默认关闭autoComplete
  • Loading branch information
NinoFocus authored and cpylua committed Apr 24, 2019
1 parent b476da8 commit 1dc922f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/zent/src/number-input/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ export class NumberInput extends PureComponent<

return (
<Input
autoComplete="off"
{...inputProps}
prefix={prefix}
readOnly={readOnly}
Expand Down

0 comments on commit 1dc922f

Please sign in to comment.