官术网_书友最值得收藏!

Using the slot character

As stated before, underscore (_) is the default active placeholder in a mask. But this can be customized using the slotChar attribute, as shown here:

<p-inputMask mask="99/99/9999" [(ngModel)]="slot" placeholder="99/99/9999"
slotChar="mm/dd/yyyy" name="slotchar"></p-inputMask>

The slotChar option can be either a single character or an expression.

主站蜘蛛池模板: 贞丰县| 盐亭县| 北碚区| 青冈县| 桃源县| 清镇市| 台前县| 秦安县| 老河口市| 清原| 山阳县| 黔东| 西和县| 大渡口区| 喀什市| 通渭县| 靖远县| 墨脱县| 石景山区| 印江| 宁阳县| 祁东县| 特克斯县| 四会市| 扎兰屯市| 岳阳市| 通渭县| 砀山县| 开远市| 深州市| 遂昌县| 冕宁县| 甘德县| 荔波县| 仲巴县| 华池县| 荣成市| 永泰县| 宜丰县| 永新县| 微山县|