diff --git a/src/packages/form/doc.zh-TW.md b/src/packages/form/doc.zh-TW.md index d5ef52d0e7..61a68b2c4f 100644 --- a/src/packages/form/doc.zh-TW.md +++ b/src/packages/form/doc.zh-TW.md @@ -100,7 +100,7 @@ import { Form } from '@nutui/nutui-react' | align | 對齊方式 | `flex-start` \| `center` \| `flex-end` | `flex-start` | | valuePropName | 子節點的值的屬性,如 Checkbox 的是 'checked' | `string` | `-` | | getValueFromEvent | 設置如何將 event 的值轉換成字段值 | `(...args: any) => any` | `-` | -| validateTrigger | 统一设置字段触发验证的时机 | `string \| string[]` | `onChange` | +| validateTrigger | 統一設定字段觸發驗證的時機 | `string \| string[]` | `onChange` | | onClick | 點擊事件併收集子組件 Ref | `(event: React.MouseEvent, componentRef: React.MutableRefObject) => void` | `-` | ### Form.Item Rule diff --git a/src/packages/textarea/textarea.tsx b/src/packages/textarea/textarea.tsx index e6387305e4..176ad9b3f9 100644 --- a/src/packages/textarea/textarea.tsx +++ b/src/packages/textarea/textarea.tsx @@ -38,7 +38,6 @@ export const TextArea: FunctionComponent< > > = (props) => { const { locale } = useConfig() - console.log(locale) const { className, value,