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
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?
I looked at it again, it doesn't necessarily have to be 2. That was a remnant of trying to test different things