newdevs:code:angular-field-order
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newdevs:code:angular-field-order [2024/06/05 12:59] – tmccanna | newdevs:code:angular-field-order [2024/06/05 13:29] (current) – [Adding Field Row Styling to Modals] tmccanna | ||
---|---|---|---|
Line 8: | Line 8: | ||
==== Via the Routing Module ==== | ==== Via the Routing Module ==== | ||
- | When you are working with a basic, dynamically-created interface you can control the field order by modifying the relevant routing.module.ts file. | + | When you are working with a basic, dynamically-created interface you can control the field order by modifying the relevant |
+ | |||
+ | < | ||
+ | path: ' | ||
+ | | ||
+ | data: [{ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | A good example of this is in / | ||
==== Via the HTML Template ==== | ==== Via the HTML Template ==== | ||
Line 34: | Line 47: | ||
Note that you can also make use of the **hiddenFieldsList** parameter for fields that do not need to show on the form, and of the **readonlyFields** parameter to make specified fields uneditable. | Note that you can also make use of the **hiddenFieldsList** parameter for fields that do not need to show on the form, and of the **readonlyFields** parameter to make specified fields uneditable. | ||
+ | |||
+ | ===== Adding Field Row Styling to Modals ===== | ||
+ | |||
+ | Beginning in Evergreen 3.13 ([[https:// | ||
+ | |||
+ | First, you will need to identify the fieldmapper' | ||
+ | |||
+ | Then, modify **eg2/ | ||
+ | |||
+ | < | ||
+ | .row { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | /* Modal for Local Admin > Hold Policies */ | ||
+ | .chmm .row.item_owning_ou, | ||
+ | .chmm .row.user_home_ou, | ||
+ | .chmm .row.holdable, | ||
+ | .chmm .row.requestor_grp { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ |
newdevs/code/angular-field-order.1717606780.txt.gz · Last modified: 2024/06/05 12:59 by tmccanna