-
Notifications
You must be signed in to change notification settings - Fork 13
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
how to handler with custom alert action #21
Comments
Did you actually subscribe to it or connect it? |
yes i has been do it same with your example, but when i debug, it not run into .flatMapSingle { |
Here is my full code for alert dialog. but after i update new data into my database it always show dialog 2 times and when i restart this form it always show dialog again before run into form
|
i try to create an custom alert with 3 button like this
`eventController.saveDanhMucDVKT
.map { table.items }
.flatMapSingle { lstDMDVKT ->
val dialog = Alert(Alert.AlertType.CONFIRMATION, "Lựa chọn hình thức lưu dữ liệu",
ButtonType("Save", ButtonBar.ButtonData.YES),
ButtonType("Save and delete", ButtonBar.ButtonData.OK_DONE),
ButtonType("Cancel", ButtonBar.ButtonData.CANCEL_CLOSE))
but seem it not save data to database. which way i wrong
The text was updated successfully, but these errors were encountered: