Search in sources :

Example 1 with InputMask

use of org.activityinfo.model.type.primitive.InputMask in project activityinfo by bedatadriven.

the class TextFieldWidget method setType.

@Override
public void setType(FieldType type) {
    this.inputMask = new InputMask(((TextType) type).getInputMask());
    this.box.setPlaceholder(inputMask.placeHolderText());
}
Also used : InputMask(org.activityinfo.model.type.primitive.InputMask) TextType(org.activityinfo.model.type.primitive.TextType)

Aggregations

InputMask (org.activityinfo.model.type.primitive.InputMask)1 TextType (org.activityinfo.model.type.primitive.TextType)1