Hi Cuba team,
I have an integer attribute named amount, how do i get a user increase or decrease the value by 1 each time an increase or decrease button is clicked in the editor screen
Thanks for your help,
Hi Cuba team,
I have an integer attribute named amount, how do i get a user increase or decrease the value by 1 each time an increase or decrease button is clicked in the editor screen
Thanks for your help,
Hi @mabutabee
In CUBA 6:
invoke
XML attributegetItem().setAmount(newValue)
to update the entity attributeIn CUBA 7:
@Subscribe
annotationgetEditedEntity().setAmount(newValue)
to update the entity attributeHi,
Thanks for the help, i get the idea