Namespace char-counter helper
Dieser Commit ist enthalten in:
Ursprung
3fe42c4183
Commit
6bcc24eabc
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -2,7 +2,7 @@ import { registerUnbound } from "discourse-common/lib/helpers";
|
|||
import I18n from "I18n";
|
||||
import Handlebars from "handlebars";
|
||||
|
||||
export default registerUnbound("char-counter", function (body, maxLength) {
|
||||
export default registerUnbound("wizard-char-counter", function (body, maxLength) {
|
||||
let bodyLength = body ? body.length : 0;
|
||||
let finalString;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
{{#if field.char_counter}}
|
||||
{{#if textType}}
|
||||
{{char-counter field.value field.max_length}}
|
||||
{{wizard-char-counter field.value field.max_length}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren