Comments (4)
Hi. Can you assign to me? And let's me know detail about help text, validation styles. Thanks !!!
from neu_ui.
Hey @phanlyhuynh sure, thanks! 😊
Validation
I didn't have a specific way in mind but the user should be able to easily add passed and failure validation text and styling to form components. Two goals you want to aim for are
- (1) simplicity, especially for the user and
- (2) does it appear to work with the list of components we have currently produced for the UI package
We don't need to show examples in the online style guide with every component but the user shouldn't need to do any additional significant css work or resort to any css hacks to make a form component and help text or validation text flow reasonably well.
A good place to look would be other React component libraries (I listed a few in the other issue you are working #15).
React Bootstrap for instance here just uses some simple React Hooks to determine if the form input passes form.checkValidity()
then passes validated
as a prop to the Form component and a .was-validated
class.
A similar solution would be absolutely fine I think.
Help Text
I'm just using React Bootstrap just as an example again but they have a fairly simple implementation of help text too which might be worthwhile taking a look at here.
As for colour and style for both, I'll leave it up to you.
I'll assign you, thanks again for helping. Let me know if you want some further guidance.
from neu_ui.
Hey @phanlyhuynh are you still planning on working this issue or can we open it back up again to other contributors?
from neu_ui.
@daniel-norris Yes. you can open and assign to other contributors. Thanks
from neu_ui.
Related Issues (20)
- Create simple CardBody test HOT 2
- Create simple Card test
- Create a CardTitle test HOT 2
- Create simple CardSubtitle test HOT 2
- Create a CardText test HOT 2
- Create a CardImg test HOT 2
- Create a simple Radio component test
- Create a simple Form component test HOT 2
- Create a simple FormGroup component test HOT 2
- Create a simple Label component test
- Create a simple Select component test
- Create a simple Slider component test
- Create a simple TextArea component HOT 1
- Create a simple Toggle component test HOT 4
- Create a Progress component test HOT 3
- Improve Typography component test to 100% coverage HOT 2
- Button change cursor onhover HOT 2
- Create a simple ListGroup test HOT 1
- Create a simple ListItem test HOT 1
- Move CI pipeline from CircleCI to GitHub Actions
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 neu_ui.