Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Using listener and asyncMethod #57

Open
w452m200 opened this issue Aug 24, 2022 · 3 comments
Open

Using listener and asyncMethod #57

w452m200 opened this issue Aug 24, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@w452m200
Copy link

Hello,

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

Thanks

@Nks
Copy link
Owner

Nks commented Aug 24, 2022

@w452m200 for what purpose?

@w452m200
Copy link
Author

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

I want update item amount when i change quantity or price

@Nks
Copy link
Owner

Nks commented Aug 24, 2022

@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 Nks added the enhancement New feature or request label Aug 24, 2022
@Nks Nks added the help wanted Extra attention is needed label Jan 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants