REFACTOR: setting component mixin (PR #14437)

  • drops jquery usage
  • extract spit function
  • uses @action
  • removes get usage where possible
  • uses helpers
  • minor changes

GitHub

The title of this pull request changed from “REFACTOR: setting component mixing” to "REFACTOR: setting component mixin

I believe this can now be simply:

      this.save();
            model: { count, key: key.replaceAll("_", " ") },

For extra clarity :smiley:

defaultValues/splitString return value is always an array:

      defaultValues.length > 0 &&

oh yes indeed :ok_hand: missed this, there are others

yes good one too :+1:

Looks good.