언어 설정

Menu
Sites
Language
Input field maxlength is not working for text type

Hi,

   input fileld of type text property maxlenght is not working, i have given maxlength = 1 stil it's taking more than one letter, it is happening only in Z1 device in Z3 its working fine.

  <input type="text" val="" maxlength="1"  tabindex="-1" />

Could any one help me to solve this issue?

Thanks

Responses

3 댓글
Vikram

Hi,

I using this code and try to test both in Z1 and simulator but it work well, it just input one letter. 

Seoghyun Kang

Dear Supreeth Kumar,

 

As Vikram's comment, it works well on Z1.

Could you share your binary version in Z1? I will check it.

 

Thanks.

 

ps. If you need the workaround way, you can use the "onchange" event.

AVSukhov

Hi,

I have tested on my Z1 with TIZEN 2.3.0.1 (Z130HDDU0BOH1) firmware and my behavior the following:

user can enter more than "maxlength" value, but after input lost focus the value is truncated to one (maxlength) character