2016-09-27 1 views
0

여기에 tagsinput을 사용하고 있습니다.부트 스트랩 태그 입력이 태그의 전체 문자를 표시하지 않고 마지막에 교차 로그인을하는 이유는 무엇입니까?

<input type='text' class='form-control' data-role='tagsinput' /> 

하지만 난이 태그를 추가 할 때 문자가 5를 초과하면 태그 문자가 5보다 작거나 같은 경우 제대로 그것은 또한 전체 태그 텍스트를 태그의 끝에 더 크로스 기호를 표시하지 않는 태그를 보여줍니다. enter image description here

방법 : 1234567890 및 결과를 enter image description here

을 체결 : 1234567 및 결과를 enter image description here

을 체결 : 123456 및 결과를 enter image description here

을 체결 :

가 12345 및 결과를 체결 다음은 스크린 샷

태그의 모든 텍스트를 표시하고 태그 끝의 교차 기호를 표시 할 수 있습니까?

답변

0

는 해결 부트 스트랩 tagsinput 라벨 여기

.bootstrap-tagsinput .label{ 
width: auto; 
line-height:2; 
text-align: left; 
margin-bottom: 5px 
} 

에이 적용 사용자 정의 CSS는 스크린 샷입니다 :

enter image description here

0

사용자 정의 CSS가 영향을 체크하면 <span class="tag label label-info">world<span data-role="remove"></span></span>

please check here