uniforms
uniforms copied to clipboard
A React library for building forms from any schema.
Hi, I'm not sure how to understand `CustomAutoField` here: https://uniforms.tools/docs/examples-custom-fields/#customautofield There are mentioned two ways. I understand, that using the AutoField.componentDetectorContext is one of them. But what is second one?...
Initially discussed [here](https://github.com/vazco/uniforms/pull/1091#discussion_r856300340). Currently, we allow for `label` passed onto fields to be a `ReactNode`. This causes problems because `transform` for example expects it to be a `string` so passing...
**Version**: ```json { "uniforms": "^3.10.0-rc.0", "uniforms-bridge-json-schema": "^3.10.0-rc.0", "uniforms-mui": "^3.10.0-rc.0", } ``` Errors I've managed to catch (more to be added): **SelectField**: ``` Warning: React does not recognize the `InputLabelProps` prop...
in ReactPage a lot of users asked for having conditional fields in the schema, so by default we support an additional prop `showIf` that can be used in the schema...
Hey there! On our project we use uniforms and TypeScript (v4.5.4) extensively and last week we upgraded `uniforms` / `uniforms-semantic` / `uniforms-bridge-json-schema` from v3.5.5 to version v3.7.0, which caused a...
Last year, React introduced a new hook: `useOpaqueIdentifier` (https://github.com/facebook/react/pull/17322). I wasn't _that_ eager to implement it, but things have changed, as it gets some lifting and will be replaced by...
As described in https://github.com/vazco/uniforms/issues/998#issuecomment-938594418, passing `props` to `Bridge.getInitialValue` was not well-thought: > [...] It'd be enough to memoize [this `getInitialValue` call](https://github.com/vazco/uniforms/blob/5c2014eb2f82a9cf4c767fe67df7ea7e61cc0d61/packages/uniforms/src/useField.tsx#L92). The problem is that we cannot do that, as...
Since we introduced `AutoField.componentDetectorContext` in #800 and released it in v3.1.0, the `autoField` prop of `QuickForm` (and all its descendant, including `AutoForm`) seems unreasonable. I fully agree with https://github.com/vazco/uniforms/issues/977#issuecomment-869964019: >...
``` const schema = { type: 'object', properties: { email: { type: 'string', uniforms: { placeholder: true } }, }, }; ``` This is not showing placeholder as email in...
Hi, I'm using the following code to display a ListField with some CustomField: ```js ``` And my `ProductSelectFieldUnstyled` returns: ```js return ( value.title} disabled={disabled} /> ); ``` This works fine,...