Closed JaneSjs closed 1 year ago
Original issue: T11864 - jQuery Inputmask - Do not diplay a decimal zero 0 placeholder mask when an input box receives focus.
Task: remove a numeric placeholder for a decimal input mask.
decimal
It was suggested at the Inputmask community (https://github.com/RobinHerbots/Inputmask/issues/2670) to use a placeholder option.
placeholder
const inputmask = SurveyCore.CustomWidgetCollection.Instance.getCustomWidgetByName( "maskedit" ); inputmask.widgetJson.numericPlaceholder = "";
This works for currency fields:
However, this property is not applied to decimal fields.
Expected behavior: an empty string placeholder is applied to decimal fields.
Original issue: T11864 - jQuery Inputmask - Do not diplay a decimal zero 0 placeholder mask when an input box receives focus.
Task: remove a numeric placeholder for a
decimal
input mask.It was suggested at the Inputmask community (https://github.com/RobinHerbots/Inputmask/issues/2670) to use a
placeholder
option.This works for currency fields:
However, this property is not applied to decimal fields.
Expected behavior: an empty string placeholder is applied to decimal fields.