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
1116
2 天前

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

JavaScript
702
5 年前

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

Kotlin
441
4 年前

Ember computed property based validations

JavaScript
441
4 个月前

Higher Order Component for Validating Forms in React

JavaScript
377
6 年前

A simple JavaScript validation library that doesn't interfere

JavaScript
334
4 年前

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

Ruby
302
4 个月前

Validation mixin for Ruby objects

Ruby
208
8 个月前

Functional validations inspired by Ruby's ActiveModel

Clojure
182
3 个月前

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

Svelte
172
3 个月前

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

TypeScript
138
2 年前

Validation frontend for models.

Ruby
125
5 年前

Custom validation error messages for sails model with i18n support

JavaScript
105
7 年前

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

Ruby
104
9 年前

Declarative data validations.

JavaScript
101
2 年前

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

JavaScript
90
9 年前