Skip to content

Add support for MVVM#14

Open
Xioshock wants to merge 4 commits into
SvenTiigi:mainfrom
Xioshock:main
Open

Add support for MVVM#14
Xioshock wants to merge 4 commits into
SvenTiigi:mainfrom
Xioshock:main

Conversation

@Xioshock

@Xioshock Xioshock commented Apr 3, 2023

Copy link
Copy Markdown

This adds a new property wrapper @PublishedValidated, that can be used inside ViewModel. The usage is a bit different, since we can't access the projected value of Validated from View.

Feel free to change it or refactor it

@Xioshock

Xioshock commented Apr 4, 2023

Copy link
Copy Markdown
Author

I also added support for custom error messages, which are needed mostly when you have more than 1 validation rule. Which is very common.

@bsalves

bsalves commented Sep 13, 2023

Copy link
Copy Markdown

@SvenTiigi is it ok? It saved me a lot hahaha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants