public ConstraintedSpinnerBox(ValueBox<Double> aDecorated) { super(aDecorated); if (Utils.isMobile()) { field.getElement().<InputElement>cast().setAttribute("type", "number"); } }