Hi all,
I would like to use the styled text editor field in place of paragraph field to be able to use bulleted lists, but there is no refresh after keypress that we can set. How can I mimic this refresh functionality with a styledTextEditorField?
I have something like this:
a!localVariables(
local!origNote,
local!newNote,
a!styledTextEditorField( label: "Edit Note", value: local!origNote, sizeLimit: cons!ERR_MAX_CHAR_NOTE, /*refreshAfter: "KEYPRESS",*/saveInto: a!save( local!newNote, ) ),)
Discussion posts and replies are publicly visible
If this is not supported by Appian, there is nothing you can do.
What is your use case here? Why do you need the keypress refresh?
Users need to input a bulleted list and they need to be able to see the updates as they input them.
You don't need keypress refresh for that. As long as you're using the right local variables in the value and saveInto parameters, user input will be visible in the styledTextEditor field.
a!localVariables( local!note, a!styledTextEditorField( label: "Edit Note", value: local!note, sizeLimit: 50, saveInto: local!note ) )
What is your intention in using two local variables?
ginao0001 said:value: local!origNote,saveInto: a!save( local!newNote )
Please, just don't do this.
I looked at it again, it doesn't necessarily have to be 2. That was a remnant of trying to test different things
a!localVariables( local!a, a!cardLayout( contents: a!styledTextEditorField( sizeLimit: 200, value: local!a, saveInto: local!a ) ) )
You can only do like that and please check your value and saveInto parameter.