Skip to content

Commit

Permalink
fix: ai's review
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Nov 20, 2024
1 parent c77223c commit bc8a8aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/packages/form/doc.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>) => void` | `-` |

### Form.Item Rule
Expand Down
1 change: 0 additions & 1 deletion src/packages/textarea/textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const TextArea: FunctionComponent<
>
> = (props) => {
const { locale } = useConfig()
console.log(locale)
const {
className,
value,
Expand Down

0 comments on commit bc8a8aa

Please sign in to comment.