inline editor onblur submit and drawtype page will not work

inline editor onblur submit and drawtype page will not work

ihuangmxihuangmx Posts: 26Questions: 9Answers: 1
edited December 2018 in Bug reports

when I use the onReturn submit model, I try three times to edit a field and click the 'Return' Key to submit the change, the page will draw auto

you can see each time i submit , the page will request the lists data auto.

But when I use onblur submit mode, I found that the data will changed successfully but the page will not draw auto

You can see that I try three times , and the page not automatically draw and request the data . this is my datatables options

  formOptions: {
        inline: {
            onBlur: 'submit',
            onEsc: 'close',
            onReturn: 'submit',
            drawType: 'page',
            submit: 'changed'
        }
    }

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @ihuangmx ,

    I suspect it'll have something to do with your drawType set to page, could you just try that with full-reset and see if that makes a difference.

    Cheers,

    Colin

  • ihuangmxihuangmx Posts: 26Questions: 9Answers: 1

    @colin Sorry, I used the full-reset option and get the same resullt

    formOptions: {
            inline: {
                onBlur: 'submit',
                onEsc: 'close',
                onReturn: 'submit',
                drawType: 'full-reset',
                submit: 'changed'
            }
        }
    
  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin

    Hi,

    What version of Editor are you using please? Also, can you give me a link to the page so I can debug it directly please? We've not seen that behaviour before and haven't been able to reproduce it.

    Thanks,
    Allan

This discussion has been closed.