orchid-repeater-field icon indicating copy to clipboard operation
orchid-repeater-field copied to clipboard

Using listener and asyncMethod

Open w452m200 opened this issue 2 years ago • 3 comments

Hello,

Howto use listener and asyncMethod with orchid-repeater-field ?

Thanks

w452m200 avatar Aug 24 '22 10:08 w452m200

@w452m200 for what purpose?

Nks avatar Aug 24 '22 13:08 Nks

I have an invoice class with items using orchid-repeater-field for that.

I want update item amount when i change quantity or price

w452m200 avatar Aug 24 '22 13:08 w452m200

@w452m200 at the moment repeater field doesn't support conditional logic without reloading the page (async or listeners). You can work on this functionality and create a PR if you want. You also can use data available on the screen after the model is saved - check Advanced Usage documentation for this.

Nks avatar Aug 24 '22 13:08 Nks