cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor position in Input Fields

Former Member
0 Kudos

Hi All,

I have a WD application where in i have 2 input fields.

Now the problem is, when i click on the input fields to fill in the value, the cursor positions itself in the second position and not in the home i.e start of the line position.

Because of this there is inconsistency in data.

How can i resolve this? Now what i am doing is, click on the input field, then press backspace once to go to the start of the line and then enter the values.

What settings or code needs to be changed for this. Please suggest.

Regards.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Becky,

Pls check the context attribute for the input field and just for testing purpose try to print the value of the input field in the doinit() of the controller and after this invalidate the node, print the value and after entering value in the field print and check the out put.

Hope after this you'll get the root cause.

Deepak!!!

p330068
Active Contributor
0 Kudos

Hi Becky

Please check the input filed properties and level binding and context binding properties for input field.

Hope it helps

Regards

Arun

Former Member
0 Kudos

Dear Becky,

By default it should point to the first position only. Please check in your code is anywhere by mistake you are setting " " in that input field context.

Best Regards,

Swati Gaur