Skip to content

Commit

Permalink
Merge pull request #13 from netglade/fix/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
petrnymsa authored Oct 19, 2023
2 parents 58edc95 + 9e4094b commit bff4aaf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
3 changes: 3 additions & 0 deletions glade_forms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.2
- Fix links in readme

## 1.1.1
- Improve Readme

Expand Down
16 changes: 6 additions & 10 deletions glade_forms/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<a href="https://github.com/netglade">
<picture >
<source media="(prefers-color-scheme: dark)" height='120px' srcset="https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/badge_light.png">
<source media="(prefers-color-scheme: light)" height='120px' srcset="https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/badge_dark.png">
<img alt="netglade" height='120px' src="https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/badge_dark.png">
</picture>
<img alt="netglade" height='120px' src="https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/badge_dark.png">
</a>

Developed with 💚 by [netglade][netglade_link]
Expand Down Expand Up @@ -111,7 +107,7 @@ GladeFormBuilder(
)
```

![quick_start_example](https://raw.githubusercontent.com/netglade/glade_forms/feat/readme-proposal/glade_forms/doc/quickstart.gif)
![quick_start_example](https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/quickstart.gif)

See [📖 Glade Forms Widgetbook][storybook_demo_link], complex, examples.

Expand Down Expand Up @@ -256,7 +252,7 @@ vipInput = GladeInput.create(
);
```

![dependent-validation](https://raw.githubusercontent.com/netglade/glade_forms/feat/readme-proposal/glade_forms/doc/depend-validation.gif)
![dependent-validation](https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/depend-validation.gif)

### Controlling other inputs

Expand All @@ -277,7 +273,7 @@ onChange: (info, dependencies) {
}
```

![two-way-inputs-example](https://raw.githubusercontent.com/netglade/glade_forms/feat/readme-proposal/glade_forms/doc/two-way-dependencies.gif)
![two-way-inputs-example](https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/two-way-dependencies.gif)

### Translation

Expand All @@ -300,7 +296,7 @@ translateError: (error, key, devMessage, {required dependencies}) {
}
```

![translation-example](https://raw.githubusercontent.com/netglade/glade_forms/feat/readme-proposal/glade_forms/doc/translation.gif)
![translation-example](https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/translation.gif)

### Converters

Expand All @@ -317,7 +313,7 @@ Use `model.formattedValidationErrors` to get all input's error formatted for sim
There is also `GladeModelDebugInfo` widget which displays table of all model's inputs
and their properties such as `isValid` or `validation error`.

![GladeModelDebugInfo](https://raw.githubusercontent.com/netglade/glade_forms/feat/readme-proposal/glade_forms/doc/glade-model-debug.png)
![GladeModelDebugInfo](https://raw.githubusercontent.com/netglade/glade_forms/main/glade_forms/doc/glade-model-debug.png)

## 👏 Contributing

Expand Down
2 changes: 1 addition & 1 deletion glade_forms/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: glade_forms
description: A universal way to define form validators with support of translations.
version: 1.1.1
version: 1.1.2
repository: https://github.com/netglade/glade_forms
issue_tracker: https://github.com/netglade/glade_forms/issues
screenshots:
Expand Down

0 comments on commit bff4aaf

Please sign in to comment.