About 8,920,000 results
Open links in new tab
  1. Why were `required` and `optional` removed in Protocol Buffers 3?

    I noticed that required and optional have been removed in the new syntax. Why were required / optional removed in proto3? Such keywords introduce constraints which should improve robustness.

  2. html - required or required = "required" - Stack Overflow

    Sep 24, 2013 · Required This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or …

  3. How to use the "required" attribute with a "radio" input field

    1023 TL;DR: Set the required attribute for at least one input of the radio group. Setting required for all inputs is more clear, but not necessary (unless dynamically generating radio-buttons). To group radio …

  4. "HTTPS required" while logging in to Keycloak as admin

    Jun 3, 2015 · Obviously, make sure to replace realm names, username, port, etc as required. For more information on getting started with the Admin CLI, see documentation: Server Administration: Admin CLI

  5. Argparse: Required arguments listed under "optional arguments"?

    Note: Required options are generally considered bad form because users expect options to be optional, and thus they should be avoided when possible. That being said, the headers “positional arguments” …

  6. .net - required vs [Required] in C# 11 - Stack Overflow

    Mar 30, 2023 · Agreed. [Required] is for data validation and in many cases work with ef, and required keyword is c# general.

  7. How to specify if a field is optional or required in OpenAPI/Swagger ...

    Oct 18, 2016 · By default, fields in a model are optional unless you put them in the required list. Below is an example - id, category are optional fields, name is required. Note that required is not an attribute …

  8. Use CSS to automatically add 'required field' asterisk to form inputs

    What you need is :required selector - it will select all fields with 'required' attribute (so no need to add any additional classes). Then - style inputs according to your needs.

  9. validation - How to Indicate Required Fields? - Stack Overflow

    Source: Form fields — Required vs Optional by Jordane Sanson Why use optional fields is always better than required : An asterisk is obvious to you, not to everyone, believe me, there are always some …

  10. .net - EF Core model classes: Use C# 11 `required` modifier on all ...

    Jul 18, 2023 · The required modifier is used to explicitly indicate that non-nullable property should initialized when type instantiated. It is used for reference types mostly.