Repository navigation

#

validations

Do it like => validates :photos, attached: true, content_type: ['image/png', 'image/jpg', 'image/jpeg'], size: { less_than: 500.kilobytes }, limit: { min: 1, max: 3 }, aspect_ratio: :landscape, dimension: { width: { in: 800..1600 }

Ruby
1072
1 天前

[INACTIVE] Client Side Validation for AngularJS 1. (You should use version > 2 💥)

JavaScript
702
4 年前

Ember computed property based validations

JavaScript
441
2 天前

Valiktor is a type-safe, powerful and extensible fluent DSL to validate objects in Kotlin

Kotlin
435
3 年前

Higher Order Component for Validating Forms in React

JavaScript
378
6 年前

A simple JavaScript validation library that doesn't interfere

JavaScript
336
3 年前

A gem/plugin for Rails 3, Rails 4, Rails 5, and Rails 6 that enables client-side validation using ActiveModel + HTML5 Form Validation

Ruby
304
2 年前

Validation mixin for Ruby objects

Ruby
208
4 个月前

Functional validations inspired by Ruby's ActiveModel

Clojure
184
3 个月前

Svelte Form Builder include various Input fields validated using ZOD + Superforms

Svelte
144
1 个月前

@typeofweb/schema: Lightweight validator with 100% TypeScript support and sane coercion rules.

TypeScript
138
2 年前

Validation frontend for models.

Ruby
124
5 年前

[MAINTAINERS WANTED] Built-in limit validations for your ActiveRecord model

Ruby
104
8 年前

Custom validation error messages for sails model with i18n support

JavaScript
104
6 年前

Declarative data validations.

JavaScript
100
2 年前

Don't let your user be a victim of their own action

JavaScript
89
9 年前