Comments (6)
Well, there's no such API, because there don't have to be any input
- take the HiddenField
(with noDOM
prop) as an example. Or a custom field with 2 input
s. What then?
from uniforms.
from uniforms.
Okay, so some fields like TextField
or NumField
could pass own ref
prop to proper input
. That should be enough, isn't it?
from uniforms.
Sure, definitely. In fact, that's how I solved my immediate problem.
The only gotcha is you cannot name that property as ref
because it is
reserved.
On Wed, Jul 13, 2016 at 12:36 PM, Radosław Miernik <[email protected]
wrote:
Okay, so some fields like TextField or NumField could pass own ref prop
to proper input. That should be enough, isn't it?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#68 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AEbz3NlllKZ4UuzoGVacNZQ2ZMu-TzGDks5qVLGygaJpZM4JKoff
.
from uniforms.
Okay, any idea, how to call it? How about inputRef
?
from uniforms.
from uniforms.
Related Issues (20)
- Pass in parameters to custom field when applying component to AutoField. HOT 4
- AutoForm does not include wrapped custom field in onModelChangeEvent HOT 2
- Warning: Failed prop type: Invalid prop `required` of type `array` supplied to `ForwardRef(FormControl)`, expected `boolean`. HOT 1
- Getting Invariant error Field not present in schema file.0 HOT 3
- uniforms-bootstrap5 is setting the minLength and maxLength in the wrapper, instead of in textarea
- DisplayIf required validation and on hide still data passes to model HOT 2
- Schema validation does not work if AutoForm as onValidate HOT 3
- Vertical form layout is broken for antd v5 HOT 1
- How can I send defaultValue to AutoForm HOT 1
- Support v5 of AntD HOT 3
- ZodBridge should ignore literal property type HOT 4
- Option to use JSON Schema `description` property as a helper text HOT 3
- Error with Hydration integrating with Next 13 HOT 2
- Support for lazy recursive JSON schemas HOT 2
- $ref in subschemas
- Input values are not updated as I type in the fields HOT 3
- Using AutoField with schema containing patternProperties HOT 1
- [ZOD] Implement logic to handle Zod.discriminatedUnion HOT 1
- How to remove the time in data-time field? I only want date. HOT 2
- Overriding componentDetectorContext HOT 2
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 uniforms.