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

[docs] Add more examples #37

Open
martinszeltins opened this issue Dec 14, 2024 · 4 comments
Open

[docs] Add more examples #37

martinszeltins opened this issue Dec 14, 2024 · 4 comments

Comments

@martinszeltins
Copy link
Contributor

Reproduction

Steps to reproduce the bug

Add more useful examples to the docs.

- DONE -
[x] Custom Rules
[x] Conditional Rules
[x] Collections
[x] Server Validation
[x] Required Indicators

- TO DO -
[ ] Nested Forms
    Deeply nested forms, arrays, how to access parent items in each rule etc.
[ ] Multi-component Forms
    This will be a very popular example, to showcase how to use Pinia store
    and multiple components for a form. Also could demonstrate how to pass props to components.
[ ] Custom Metadata
    How to add custom metadata info to fields
[ ] Advanced Example

Expected behavior

Actual behavior

Environnement informations

No response

@victorgarciaesgi
Copy link
Owner

Yep all of your list is planned for the advanced example 👍

@martinszeltins
Copy link
Contributor Author

Yep all of your list is planned for the advanced example 👍

I think it'd be a good idea to also have separate examples listed as users may not know that they are included inside the advanced-example.

@victorgarciaesgi
Copy link
Owner

Yep agree! The advanced is more to show a more real world example on how to structure your logic around Pinia, Components, props etc..!

@martinszeltins
Copy link
Contributor Author

martinszeltins commented Dec 15, 2024

I think this isn't completed yet, we still have these examples to add later. But this could be done after 1.0

- TO DO -
[ ] Nested Forms
    Deeply nested forms, arrays, how to access parent items in each rule etc.
[ ] Multi-component Forms
    This will be a very popular example, to showcase how to use Pinia store
    and multiple components for a form. Also could demonstrate how to pass props to components.
[ ] Custom Metadata
    How to add custom metadata info to fields
[ ] Advanced Example

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

No branches or pull requests

2 participants