Hello,
to me is not clear all this dynamic functions!
Basically I load a table where I have a text field editable that overwrite a field in database.
Ok, I can build everything more or less by using demo template.
But I don't manage to build a button after the text element that fire dynamically the function save to database.
If I use send/closest:.ui.form and replace/closest:.ui.form somehow it works but it takes the values of the last text field.
So I could imagine that there is a command like send/this:.ui.form or send/this:FIELD
to me is not clear all this dynamic functions!
Basically I load a table where I have a text field editable that overwrite a field in database.
Ok, I can build everything more or less by using demo template.
But I don't manage to build a button after the text element that fire dynamically the function save to database.
If I use send/closest:.ui.form and replace/closest:.ui.form somehow it works but it takes the values of the last text field.
So I could imagine that there is a command like send/this:.ui.form or send/this:FIELD
Hi vismay,
Apologies for the late reply!
What are you trying to do exactly ?
Means to post the inputs of the closest .ui.form element when making the request.
means to replace the contents of the closest .ui.form element with the request response.
The "closest element" means that the closest parent matching this CSS selector.
Best regards,
Max
Apologies for the late reply!
What are you trying to do exactly ?
send/closest:.ui.form
Means to post the inputs of the closest .ui.form element when making the request.
replace/closest:.ui.form
means to replace the contents of the closest .ui.form element with the request response.
The "closest element" means that the closest parent matching this CSS selector.
Best regards,
Max
This topic is locked and no more replies can be posted.