Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@gemeente-denhaag/textfield
Advanced tools
A text field is an input field where users can input content and data.
Text fields can be used for long and short form entries. There are instances, sometimes in the same form, where you need users to enter both short and long form content. Allow the size of the text field box to reflect the length of the content you expect the user to enter.
When the expected user input is a single line of text, as opposed to a paragraph.
When the expected user input is more than one sentence.
The text field consists of:
The text field contains the states active, inactive, disabled, error and focus.
[technical requirements]
A label is a short description of the requested input. Labels are not instructional text but they should be meaningful and clearly indicate what is expected. Labels should be:
Placeholder text is shown inside the form field to teach users what to input. Field placeholder text should:
Try to only ask for information that’s required. If you need to ask users to provide optional information, mark the field optional by placing the text “(optional)” at the end of the field’s label. Don’t mark required fields with asterisks.
Help text provides extra guidance or instruction to users filling out a form field. It can also be used to clarify how the information will be used. As with all form content, help text should be succinct and easy to read.
Error messages should:
Text fields should:
Text fields should:
https://www.nngroup.com/articles/form-design-placeholders/ https://www.w3schools.com/tags/tag_input.asp https://medium.com/nextux/form-design-best-practices-9525c321d759 https://xd.adobe.com/ideas/principles/web-design/best-practices-form-design/
FAQs
A TextField component
We found that @gemeente-denhaag/textfield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.