Field formatting not happening after Enter is pressed

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Field formatting not happening after Enter is pressed

Postby roddy » Thu Apr 15, 2021 2:51 am

If I am entering data into a field and move away, the field is formatted accordingly; however, it I press Enter then move away, the field formatting does not happen. Is there a way to resolve this?
roddy
 
Posts: 69
Joined: Mon Oct 26, 2020 12:32 am

Re: Field formatting not happening after Enter is pressed

Postby jcompagner » Thu Apr 15, 2021 9:03 am

which client are we talking about here? and if it is ngclient which component exactly?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Field formatting not happening after Enter is pressed

Postby roddy » Fri Apr 16, 2021 12:59 am

Screen Shot 2021-04-16 at 8.58.06 am.png
Screen Shot 2021-04-16 at 8.58.06 am.png (14.59 KiB) Viewed 545 times
Am using NG Client, it is a CSS Position Layout for and the component is just marked as a Field with a display type of TEXT_FIELD.
roddy
 
Posts: 69
Joined: Mon Oct 26, 2020 12:32 am

Re: Field formatting not happening after Enter is pressed

Postby jcompagner » Fri Apr 16, 2021 1:26 pm

this is i think because the onchange event doesn't happen when the focus left the field
i see in NGClient2 this works fine, but yes in NG1 this doesn't fully work. You can create a case.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Field formatting not happening after Enter is pressed

Postby roddy » Mon Apr 19, 2021 9:16 am

Will do, thanks.
roddy
 
Posts: 69
Joined: Mon Oct 26, 2020 12:32 am


Return to Programming with Servoy

Who is online

Users browsing this forum: Bing [Bot] and 5 guests