Skip to content

Conversation

Xioshock
Copy link

@Xioshock Xioshock commented Apr 3, 2023

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
Copy link
Author

Xioshock commented Apr 4, 2023

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
Copy link

bsalves commented Sep 13, 2023

@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