fusion-form
fusion-form copied to clipboard
Field model: New property "name without namespace"
The getName()
method of the Field
domain model always returns the field name with its namespace.
Would you be open to add a getter "get name without namespace" (how should we name it)?
My use case:
To add frontend validation for my form, I need to evaluate the Schema definition of a field. So I want to check if field foo
is configured in the SchemaDefinition
. Since the schema definition uses the field name without namespace, I cannot look it up without such a getter.
I would suggest Short name (after the reflection API) or "unqualified name" as naming - sounds fine for me :)
All the best :) Sebastian