ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Inline Editor, Typing "<" in Editor Causes Rest of Text to Disappear (Pro)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Inline Editor, Typing "<" in Editor Causes Rest of Text to Disappear (Pro) (Read 1631 times)
MarquisMark9
Pro Enterprise
Newbie
Posts: 4
Inline Editor, Typing "<" in Editor Causes Rest of Text to Disappear (Pro)
«
on:
April 07, 2017, 02:39:12 am »
If you enter “a<b” (no quotes or spaces) into a text field the “<b” part will disappear because the grid thinks it is the beginning of an html element I think. This is only an issue if the character after the < is text and the value will show up when you go into edit mode. So I think it is a rendering issue with text being interpreted as html.
You can reproduce this in their demo apps (
https://paramquery.com/demos
) by typing a<b in the Shipping Address field on Inline Editing/Editors & Validation.
Logged
paramvir
Administrator
Hero Member
Posts: 6298
Re: Inline Editor, Typing "<" in Editor Causes Rest of Text to Disappear (Pro)
«
Reply #1 on:
April 07, 2017, 12:47:07 pm »
Since < is an html entity, you would need to encode it ( replace < with < and > with > ) in column.render callback.
I've marked to add inbuilt support for encoding html entities as future enhancement.
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Inline Editor, Typing "<" in Editor Causes Rest of Text to Disappear (Pro)