Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(payout): add dynamic fields for payout widget #590

Merged
merged 10 commits into from
Sep 12, 2024
721 changes: 214 additions & 507 deletions src/CollectWidget.res

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Components/DropdownField.res
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let make = (
let handleChange = ev => {
let target = ev->ReactEvent.Form.target
let value = target["value"]
setValue(value)
setValue(_ => value)
if isDisplayValueVisible {
let findDisplayValue =
options
Expand Down
Loading
Loading