]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/page-picker.js
respective book and chapter structure added.
[bookstack] / resources / js / components / page-picker.js
index 39af67229932910b3e283ed6859a53ffc67ef937..5ab51159570350f00a31abdf5fb581923a1a42cd 100644 (file)
@@ -35,7 +35,8 @@ export class PagePicker extends Component {
         const selectorPopup = window.$components.first('entity-selector-popup');
         selectorPopup.show(entity => {
             this.setValue(entity.id, entity.name);
-        }, '', {
+        }, {
+            initialValue: '',
             searchEndpoint: this.selectorEndpoint,
             entityTypes: 'page',
             entityPermission: 'view',