-
-
Notifications
You must be signed in to change notification settings - Fork 180
Add form validation styling for form fields #66
Comments
@irvelervel Can you provide any direction/best practice about this topic? |
Happy to give this one a go! I'd like to follow React Bootstrap as a basis and try to help the look and feel as hospitalrun as possible. Is there a styleguide or any kind of branding guideline that I should lean on here? |
Hey @adamdickinson I thought i'd give this a go since I saw it's been inactive but if you're still working on this give me a heads up! I'm searching for validation best practices and will try to focus more on the usability and design while avoiding inserting too much logic inside the components. Is formik a viable option or would it require too much refactoring? @jackcmeyer Shall I implement this library or attempt to create something custom? If anyone has any best practices, suggestions, or any requests I'm always looking for improvements and mistakes I might have overlooked! |
@ocBruno unless there is a compelling reason to not use the built in bootstrap validation styling, I think that we should use that. |
Ah pardon me I got offtrack, I was thinking of another issue considering how to handle the validation. If anyone has any suggestions or feedback on the program and grafic design send me a reply! Also this next commit I pushed I'm uncertain what is the ideal way to modify the style of the react bootstrap select component so I can add a margin to the exclamation mark if anyone has any ideas on the ideal pattern. Currently working on improving the design of and styling the input components, and inserting custom validation messages. |
# [1.0.0](v0.36.0...v1.0.0) (2020-03-18) ### Bug Fixes * **coveralls:** fix typo ([9180d2f](9180d2f)) * **input:** add missing className and style properties ([3713d16](3713d16)), closes [#271](#271) * **input:** add style to text input property and fix test ([595b709](595b709)), closes [#271](#271) * **input:** add validation styling to text input and field ([ee3cd14](ee3cd14)), closes [#271](#271) * **input:** fix validation tests ([67bab76](67bab76)), closes [#271](#271) * **input:** replace selected with defaultValue in select ([c9656cd](c9656cd)), closes [#271](#271) * **input:** resolve requested and other necessary changes and refactor ([c0ec7ab](c0ec7ab)), closes [#271](#271) * **inputs:** apply requested changes ([45bcf23](45bcf23)), closes [#271](#271) * **table:** fixes table tests ([beba7f1](beba7f1)) * **types:** add ColorVariant light and info colors ([6664de4](6664de4)), closes [#66](#66) * insert missing property to TextInput ([fcbadca](fcbadca)), closes [#66](#66) ### Features * **actions:** improves github action cicd and removes travis ([44cf335](44cf335)) * **docs:** removes unnecessary docs ([98110ce](98110ce)) * **input:** add input validation styles and tests, update react-bs ([262d87e](262d87e)), closes [#271](#271) * **input:** add validation styling to select ([a791422](a791422)), closes [#271](#271) * **inputs:** add datetimepicker input validation and create docs ([515db71](515db71)), closes [#271](#271) * **inputs:** form validation progress ([d24435e](d24435e)), closes [#66](#66) * **textinput:** add errorMessage property ([3648fba](3648fba)), closes [#66](#66) * **textinput:** add valid input message, fix typos and others ([4c90b45](4c90b45)), closes [#66](#66) ### BREAKING CHANGES * **input:** update react bootstrap
馃帀 This issue has been resolved in version 1.0.0 馃帀 The release is available on: Your semantic-release bot 馃摝馃殌 |
馃殌 Feature Proposal
To display a form validation message/styling should be consistent across all form controls.
Motivation
Displaying success/errors for fields.
Example
Form validation.
https://react-bootstrap.netlify.com/components/forms/#forms-validation-native
Related
#62 #63 #64 #65 #33 #20
The text was updated successfully, but these errors were encountered: