Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@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
The npm package @gemeente-denhaag/textfield receives a total of 56 weekly downloads. As such, @gemeente-denhaag/textfield popularity was classified as not popular.
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.