placement does not apply for the NumericField under the module
Describe the bug
Orchard Core version
latest main
To Reproduce
- Create MaintenanceFeesFinance NumericField under FieldsAccordionPart
- Inside placement.json of a Module,
"NumericField": [ { "differentiator": "FieldsAccordionPart-MaintenanceFeesFinance", "place": "-" }] - See error , the data of MaintenanceFeesFinance NumericField still show on the page
Expected behavior
it should behavior the same as
"DateField": [
{
"differentiator": "FieldsTablePart-Available",
"place": "-"
}
]
under the same Module.
Logs and screenshots
when I put "NumericField": [ { "differentiator": "FieldsAccordionPart-MaintenanceFeesFinance", "place": "-" }] inside placement.json of a theme, now it works
@MikeAlhayek is suggesting that you may use an Editor for this field and then the shape is different. Try to guess the shape type from the editor's template. If that's the case we need to document it.
the same field and placement.json , just diff. under a Module and a Theme
I tried to reproduce the issue quickly, but everything seems to work as expected on my end. Since theme placement takes precedence over module placement rules, and it works correctly in the theme, this suggests the issue might be in your module’s placement.json. It’s possible there’s a mistake there, or perhaps additional placement rules elsewhere that are interfering. Double-checking those might help pinpoint the problem.
Did you put the placement.json under a module only?
Did you put the placement.json under a module only?
Yes
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
@infofromca would you be able to create a small github repos that just needs to be started to see the issue? And the repos would point to the preview nuget feed to use the main branch: https://github.com/OrchardCMS/OrchardCore?tab=readme-ov-file#preview-package-feed