Cannot extend existing field

Oh, I was not aware that I also have to create the JS part when I just want to extend and existing field (I basically just want to change an existing field’s defaults, but have it available under a different field name then).

I now added the JS part from the docs:

panel.plugin("your/plugin", {
  fields: {
    hello: {
      extends: "k-text-field"
    }
  }
});

The error is gone now, however I just have a strange line showing up in my panel now:

20220516-234701_Screenshot_quick.test

Going over the documentation again, I assume this might be because I have no template output defined in the JS file? However, I am now wondering if there is an easier way to accomplish what I need to do. Because what I eventually do want to do is modify a date field and setting some other defaults. Recreating the entire date field template for that sounds kind of complicated.