javiersantos / javiersantos/MaterialStyledDialogs

How to validate the form when positive button click?

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.2k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

I have my dialog with some form. when user click positive button if form has errors they should be shown and dialog shouldn't dismiss. if all are validated then it should be closed. when neagative button clicked, dialog should dismiss. how can i achieve this?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified in the issue. Start by inspecting the dialog's positive and negative button API and any usage examples, then verify whether form errors can prevent dismissal while a valid form closes and the negative action always dismisses.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.