#attributes example in the form API reference should give clearer examples, including examples of when not to use it

Created on 8 October 2015, over 9 years ago
Updated 26 March 2025, about 2 months ago

It came up in discussion at #2556379: Map does'nt display on node edit form β†’ that it would be a good idea for the #attributes documentation in the form API reference to be a little more specific about when it shouldn't be used, for example by mentioning #id as a case where you'd usually prefer to use the main form API property to set the attribute instead.

πŸ“Œ Task
Status

Closed: won't fix

Component

API documentation files

Created by

πŸ‡ΊπŸ‡ΈUnited States David_Rothstein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024