How to display label of value stand alone editor?

How to display label of value stand alone editor?

casuistcasuist Posts: 38Questions: 15Answers: 0
edited August 2017 in Editor

How to display label of value stand alone editor?

{
 name: "isjoin",
 type: 'select',
 options: [{
  label: 'ok',
  value: 'Y'
 }, {
  label: 'no',
  value: 'N'
 }, ],
}

I want to display ok or no.
Is there a way?

And I hope to be added load data function with stand alone editor.

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 61,761Questions: 1Answers: 10,111 Site admin
    Answer ✓

    That will display the options in the editing form, but if you mean in the document after the form has been edited, with standalone editing you would need to use postEdit to modify the document since Editor will just write the value into the document.

    Allan

  • casuistcasuist Posts: 38Questions: 15Answers: 0
    edited August 2017

    Display label in document what I mean.
    Like form editor.
    Or Form editor into document div(Not modal) possible?
    I hope to use full form editor function in document...

  • allanallan Posts: 61,761Questions: 1Answers: 10,111 Site admin
    Answer ✓

    As I say, would you need to use postEdit to write the label into the document.

    Allan

This discussion has been closed.