Comments (4)
Using onChange
with updateInputsWithValue
works for this, thanks.
from formsy-semantic-ui-react.
currently Checkbox & Radio are saving boolean values to the model.
The value is the value of checked
.
I'm not sure what it should be...
Native checkboxes has 2 possible values, value
& checked
...
I think that it is better to reflect the booleans instead of the value because the checked
value is what changes when you click on them.
In this case value
won't ever change, therefore, it is just like an data
attribute.
If you need the value
, you can add onChange
prop, and it will give you the event & the entire component props (similar to SUIR)
from formsy-semantic-ui-react.
from formsy-semantic-ui-react.
Ping me if you need any other help.
from formsy-semantic-ui-react.
Related Issues (20)
- `Select` and `Dropdown` missing `autoComplete` attribute HOT 3
- [Feature] Field-controlled `Search` example HOT 1
- `@types/hoist-non-react-statics` to `devDependencies` ? HOT 2
- `Checkbox` with `defaultChecked={true} required` does not validate the Form HOT 3
- inputClassName raise warning HOT 3
- RadioGroup not passing name attribute to input elements
- Possible to allow entries in Dropdown? HOT 2
- Inline prop for Semantic-ui HOT 1
- Missing Input Without Label HOT 1
- Unexpected Token when running the example HOT 1
- initial value on Form.Checkbox 'undefined' if checked={false}
- Only import needed components from sematic ui react instead of the whole package HOT 4
- Warning: Failed prop type: The prop `options` is marked as required in `FormSelect`, but its value is `undefined`. HOT 4
- Please delete
- Cannot create TextArea without label with required HOT 1
- semantic-ui-react's Popup is not working inside Formsy Form. HOT 1
- A way to reuse Form.Input as FormField and has an inline label HOT 5
- validationError is not respected with required HOT 7
- Preparation to formsy-react v.2 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 formsy-semantic-ui-react.