mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: rich text field not clearing data on submission (#6486)
This commit is contained in:
parent
dbb079ba18
commit
62c06c7ac3
@ -45,7 +45,7 @@ export const RichText = connect(
|
||||
value={resultValue}
|
||||
onChange={(value) => {
|
||||
if (value === '<p><br></p>') {
|
||||
onChange(undefined);
|
||||
onChange('');
|
||||
} else {
|
||||
onChange(value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user