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

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.

主站蜘蛛池模板: 东至县| 霍城县| 阿拉尔市| 彰化市| 泰宁县| 万宁市| 抚顺市| 峡江县| 铜梁县| 织金县| 武平县| 桂平市| 天峻县| 桃园县| 读书| 澜沧| 嵩明县| 息烽县| 贺州市| 驻马店市| 牙克石市| 土默特右旗| 石门县| 宜春市| 康乐县| 辽宁省| 昌吉市| 永兴县| 曲阳县| 岑巩县| 乐陵市| 元江| 高要市| 无极县| 沅陵县| 碌曲县| 瑞金市| 理塘县| 木兰县| 抚顺县| 澄迈县|