Comments (1)
Fixed in 0.6.2. Now the translate_error
option is really optional. If you don't need to translate errors, then you can omit this setting.
Anyway, if you need to translate errors while using distillery, you can now set this option in every type file in this way:
def build_form(form) do
form
|> add(:name, :text_input)
# ...
end
def translate_error, do: &AppWeb.ErrorHelpers.translate_error/1
from formex.
Related Issues (20)
- JS lib, collections, handling multi-level collections HOT 1
- Select validation without exceptions
- Formex + Money HOT 4
- Is there a way to do an array with checkboxes? HOT 1
- Use `mix format` and `credo` to make it easy to contribute to the repo HOT 1
- ecto changeset from schema HOT 8
- Hidden Input HOT 5
- Expand one empty collection item fields in the form without click on Add button HOT 4
- Are there date, time, datetime form elements in formex HOT 2
- Module not found: Error: Can't resolve 'formex' HOT 3
- Add button doesn't work HOT 2
- csrf token was not found error on create action HOT 1
- Date and DateTime form field values don't correspond the types HOT 1
- formex_id and formex_delete fields are saved to database for embedded schemas HOT 1
- Support for EEx Template as Formex Template?
- SelectAssoc inside embeds HOT 10
- Module attribute for @repo evaluates to nil HOT 5
- Mapping modal <-> form that isn't 1:1 HOT 3
- Ability to get options for select via ajax HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formex.