Has how to put a searchbar inside a dynamic sheet?

I have a sheet created dynamically on the route, I would like to add a searchbar within that sheet, is it possible? If so, how?

1 Like

What have you tried so far?

I would suggest to use the sheet’s event to initialize a searchbar inside it

app.sheet.create({
  //...
  on: {
    opened: function () {
      app.searchbar.create({})
    }
  }
}).open()
1 Like

Use On event…

When sheet opened create searhbar dynamicly