useMask ignored when browserInputType is set to digits on date/time FormItems

SmartClient Version: v13.1p_2026-06-08/AllModules Development Only (built 2026-06-08)
SmartClient Version: v14.1p_2026-06-11/AllModules Development Only (built 2026-06-11)

Hi, I’ve noticed that when using browserInputType: “digits” on FormItems of type date/time with useMask: true, the mask is not displayed.

However, the mask is correctly applied when using browserInputType: “tel”.

Is this expected behavior (i.e., a limitation or unsupported combination), or could this be a bug?

Test case:

isc.DynamicForm.create({
    items:[
        {name:"aDateTimeItem", type:"datetime", textFieldProperties:{browserInputType:"digits"}, useMask:true},
        {name:"aTimeItem", type:"time", textFieldProperties:{browserInputType:"tel"}, useMask: true}
    ]
})

with browserInputType:“digits”:

with browserInputType:“tel”:

hi Claudio,

It’s expected behavior.

browserInputType: “digits” maps to <input type=“number”> in the DOM, which rejects non-numeric characters - so mask placeholders like _ can’t work. You’ll see a warning in the developer console.

“tel” works because <input type=“tel”> accepts any characters while still showing a numeric mobile keyboard, so it’s the right choice when you need both a numeric keyboard and useMask.

Hi, thanks for the clarification, I hadn’t noticed the warning in the developer console, I’ll use browserInputType: “tel” in this case.