Discourse toolkit to render forms

Ah. Makes sense. Also, often rules don’t apply to admins.

Wait. What?

Oh. Oops. It is in tiny letters, but now that I see it, I to remember seeing it before. :person_shrugging:

I’ve made some more progress this time. I’m doing a bunch of fairly custom stuff (like I need to trigger some text that’s displayed when entering a field) that may keep me from being able to use it.

Any idea how I can trigger a function when entering a field? (Use case, when you enter the Digital Ocean API key field, I have text show up that describes how to get the API key).

EDIT: Why, yes. Dear https://ask.discourse.com/ was able to tell me! It’s painfully obvious once you know. :person_shrugging:

import { on } from "@ember/modifier";
...
  @action
  hostnameClicked(event) {
    this.setHelpText(i18n("pfaffmanager.help.hostname"));
  }
...
            <field.Input @type="text" {{on "click" this.hostnameClicked}} />