value = this.val() on line 389

value = this.val() on line 389

pmengopmengo Posts: 74Questions: 37Answers: 2

this.val() is undefined if type is SELECT.

Help on this please

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    You'll need to provide a bit more information I'm afraid. That is this in that context? What file is line 389?

    If you could link to a page showing the issue that would be useful.

    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    datatables.editor.js

    this is editor.field object

    i solve it overriding this.val() by using $('#' + this.s.opts.id).val()

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Line 389 in Editor 1.5.5 is a comment: // Common value. Line 390 is value = this.val();. However, that should not be undefined - as you can see in this example.

    Can you please provide a bit more information to describe how this bug manifests. What is your configuration of Editor, what is the data being loaded, etc?

    As I say, a link to a page showing the issue will let me resolve it immediately.

    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2
    edited March 2016

    we talk about inline edition of select type

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    It would be really useful if you could please link to a page showing the issue.

This discussion has been closed.