uniforms
uniforms copied to clipboard
A React library for building forms from any schema.
- Version: Latest https://github.com/vazco/uniforms/blob/a103efdd8724e9f9794ff3ecab776bb9559f728d/packages/uniforms/src/BaseForm.tsx#L261-L278 In BaseForm's onSubmit method, there may be instances where calling `props.onSubmit` would cause the component to be unmounted (e.g. if an API call is successful, navigate...
Fixes #1138 Unified the implementation of date type logic across `DateField`s in themes. The only theme that was not adjusted was `antd` due to the fact that this is handled...
As you can see in this reproduction: https://codesandbox.io/s/jolly-perlman-ntuxi Both fields in the form are filled with their defaultValue, yet only string1 is set in the form model. This causes weird...
When a field is configured to be a date only field (not date and time) the field value gets updated but the form field does not update. The form field...
Extended the current invariant message and added an entry to the FAQ. * [x] `useForm` hook error documentation * [x] [bluebird promise error documentation](https://github.com/vazco/uniforms/discussions/1047#discussioncomment-2891337)
I need to add custom text styling to readonly fields. For TextFields this works flawlessly with a selector like ```css .ui.input input[readonly]{ color: darkgrey; } ``` because the readonly attribute...
## Problem A guide in the docs suggests manipulating the schema with an `options` property to specify possible options for a SelectField (and auto-generate it): https://uniforms.tools/docs/tutorials-using-predefined-fields/#2-manipulating-the-schema) However, AJV does not...
## Motivation why you'd like to see this in uniforms. We have a use case where we want to display a field down to its sister field. Rn, because `uniforms`...
As Enzyme is no longer supported and we already rely on a community-made workaround for React v17 and there's nothing sure for v18 we should push for getting rid of...
Hi, I like the idea of changing fields components by context. Could we push it little further and do this? ```js import { AutoForm } from 'uniforms' import { CustomAuto...