18 lines
No EOL
618 B
TypeScript
18 lines
No EOL
618 B
TypeScript
import {UIElement} from "../../UI/UIElement";
|
|
import Translations from "../../UI/i18n/Translations";
|
|
import {TagRenderingOptions} from "../TagRenderingOptions";
|
|
|
|
export class PhoneNumberQuestion extends TagRenderingOptions {
|
|
|
|
constructor(category: string | UIElement) {
|
|
super({
|
|
question: Translations.t.general.questions.phoneNumberOf.Subs({category: category}),
|
|
freeform: {
|
|
renderTemplate: Translations.t.general.questions.phoneNumberIs.Subs({category: category}),
|
|
template: "$phone$",
|
|
key: "phone"
|
|
}
|
|
});
|
|
}
|
|
|
|
} |