mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
fix enabled button bug
This commit is contained in:
parent
6d733f20dd
commit
561a8d6f10
@ -49,13 +49,16 @@ export const HooksTab: React.FC<Props> = (props) => {
|
||||
<Form.Item wrapperCol={{ span: 24 }}>
|
||||
<Card
|
||||
title={
|
||||
<Form.Item
|
||||
name={[hook.name, 'enabled']}
|
||||
valuePropName={'checked'}
|
||||
noStyle
|
||||
>
|
||||
<Checkbox /> {t('form:hooks.enabled')}
|
||||
</Form.Item>
|
||||
<div>
|
||||
<Form.Item
|
||||
name={[hook.name, 'enabled']}
|
||||
valuePropName={'checked'}
|
||||
noStyle
|
||||
>
|
||||
<Checkbox />
|
||||
</Form.Item>
|
||||
{t('form:hooks.enabled')}
|
||||
</div>
|
||||
}
|
||||
type={'inner'}
|
||||
extra={
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user