allIfChanged option case typo
allIfChanged option case typo
pisisler
Posts: 113Questions: 23Answers: 1
in Bug reports
Hi.
allIfChanged
option in formOptions
has a letter case typo after Editor 2.0. With Editor 1.x, it was working just like how it is documented in form-options
. But after Editor 2.0, this option has one letter case changed like:
allIfChanged
=> Editor 1.x (as with the documentation)
allIfchanged
=> Editor 2.x
Replies
Hi,
Thanks for your post, however, I'm not seeing that in this example I'm afraid - it appears to be working correctly.
I've also just tried grepping our code base for the incorrect string, but found nothing:
Grepping for the correct spelling finds multiple instances:
Can you give me a link to a test case showing the issue you are seeing please?
Allan
I was wrong,
allIfchanged
with small letters also didn't work. In fact it is completely ignored on my instance. None of the options work for me. If ı set it tochanged
, the form still submits although nothing has changed in inline edit mode; but with only one cell data. If I set it toallIfChanged
, form submits all data, although nothing has changed.Looks like it correctly regards which data to send while submitting; but it completely ignores whether to submit at all. What could be breaking this option?
PS: I can't give a public link as it has sensitive and integrated data which is behind authentication. I can however PM you if needed.
perhaps you can show me how you are initialising DataTables, Editor and using the
inline()
method?Allan
This is how I initialize DT, DTE and inline editing;
By the way, I also tried passing the options while inline initialization, it didn't work either:
That does look right. The only thing I can think of there, is might you have another Editor instance on the page somewhere (since
editor
appears to be global there)?If you could PM me a link to the page showing the issue, that would be great. Click my forum user name above and then "Send message".
Thanks,
Allan
No there is only one editor instance. I PM'd you development site information.
@allan any chance you checked on this one?
Apologies - I've lost track of this one! I've sent back a PM.
Regards,
Allan