폴리머 요소를 사용하고 싶습니다. 용지 입력이 type = "password"를 지원하지 않기 때문에 어떻게 변환 할 수 있습니까? *input type = "password"를 사용하지 않고 *로 텍스트를 변환하는 방법
0
A
답변
0
onedit에 입력 문자를 입력하고 문자열에 추가하고 텍스트 상자에서 문자를 삭제 한 다음 "*"를 추가하십시오.
0
유형 = "비밀번호"인 용지 입력을 사용하고 있습니다. 당신이하는 일은 사용하는 폴리머의 버전에 달려 있습니다. 변화가 온 후 0.4.2
<paper-input
id="passWord"
floatinglabel
pattern="^(?=.*\d.*\d)[[email protected]#$%*]{8,}$"
type="password"
label="Password"
required>
</paper-input>
에서 마스터
<paper-input-decorator
id="password"
labelVisible
floatinglabel
error="Password must be 8 chars with numbers, letters and punctuation"
label="Password">
<input is="core-input" id="passWord" type="password" pattern="^(?=.*\d.*\d)[[email protected]#$%*]{8,}$" required>
</paper-input-decorator>
에서
나는이 권리에 대한 게시물을했고 나는 대답의 변화를 사용하는 방법을 설명합니다. updated to newest version of polymer and input validation is no longer working
관련 문제
- 1. UPDATE를 사용하지 않고 변환하는 방법
- 2. <input type = "file"/>에 텍스트를 삽입하는 방법
- 3. type = "image"를 사용하지 않고 이미지가있는 버튼
- 4. input type = "text"의 배경으로 텍스트를 설정하는 방법은 무엇입니까?
- 5. AJAX에서 input type = "button"대신 input type = "submit"하시겠습니까?
- 6. CRT를 사용하지 않고 double을 문자열로 변환하는 방법
- 7. 'CLI :: 배열 <Type> ^' 'CDWordArray &'로 변환하는 방법
- 8. <input type = 'month'> 장고 모델로 작업하는 방법. 필드?
- 9. onBlur과 onChange가 <input type = "text"로 작동하지 않습니다.
- 10. 탭을 사용하지 않고 텍스트를 정렬해야합니다.
- 11. ASP.NET input type = 'image'컨트롤에서 'style'속성을 제거하는 방법?
- 12. "input type = file"값을 삭제하는 방법
- 13. <input type = "text">에 텍스트를 보내는 PHP
- 14. Grails가 <input type = "file"
- 15. <input type = "text">
- 16. <input type = "file"/> 사용하지 않고 사용자 지정 파일 선택기
- 17. src 속성을 사용하지 않고 input type = "image"를 사용할 수 있습니까?
- 18. HTML5 input type = "time"을 사용하지 않고 "Adjust time"HTML 양식을 만드는 방법은 무엇입니까?
- 19. 동적으로 <input type = "text"/>을 만드는 방법
- 20. <input type = "text"> 여분의 패딩
- 21. 텍스트를 오디오로 변환하는 방법?
- 22. 텍스트를 이모티콘으로 변환하는 방법
- 23. 텍스트를 3D로 변환하는 방법
- 24. "Input mapping type"을 선택하거나 사용하지 않고 Map-input-stream을 이벤트로 WSO2-CEP로 직접 파이프 라인하는 방법은 무엇입니까? 나는 에스퍼 (런타임 등)로 WSO2-CEP를 사용하고
- 25. type = number를 사용하지 않고 iphone의 숫자 키보드를 켤 수 있습니까?
- 26. EXCEL_ 텍스트를 숫자로 변환하는 방법
- 27. 일반 텍스트를 xsl로 변환하는 방법
- 28. input type = 'button'대신 입력 제출을 취소하는 이유
- 29. C#에서 텍스트를 텍스트로 변환하는 방법? (모든 sdk 또는 System.speech. *를 사용하지 않고)
- 30. BlueJ에서 Enter 키를 누르지 않고 입력을 별표 (*)로 변환하는 방법
[this at this] (https://groups.google.com/forum/#!msg/polymer-dev/o2f6MscUOzQ/LTrAefu6LT8J)를보십시오. – APAD1