mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08:00
fix(editor): add placeholder for input of database context menu (#11079)
fix: BS-2594
This commit is contained in:
@@ -14,6 +14,7 @@ export const inputConfig = (property: Property) => {
|
||||
</div>
|
||||
`,
|
||||
initialValue: property.name$.value,
|
||||
placeholder: 'Property name',
|
||||
onChange: text => {
|
||||
property.nameSet(text);
|
||||
},
|
||||
@@ -26,6 +27,7 @@ export const inputConfig = (property: Property) => {
|
||||
</div>
|
||||
`,
|
||||
initialValue: property.name$.value,
|
||||
placeholder: 'Property name',
|
||||
onComplete: text => {
|
||||
property.nameSet(text);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user