mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
fix(editor): add placeholder for input of database context menu (#11079)
fix: BS-2594
This commit is contained in:
@@ -109,7 +109,7 @@ export class DatabaseBlockComponent extends CaptionedBlockComponent<DatabaseBloc
|
||||
items: [
|
||||
menu.input({
|
||||
initialValue: this.model.props.title.toString(),
|
||||
placeholder: 'Untitled',
|
||||
placeholder: 'Database title',
|
||||
onChange: text => {
|
||||
this.model.props.title.replace(
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user