Skip to content

Schema form trims the input values #509

Open
@ravi-patwal

Description

@ravi-patwal

This might be due to Angular1.2+ as angular by default trims the input value removing surrounding spaces. But in angular input fields you can give set trim to false, so that angular does not trims the input fields.
Is there a way so that angular schema form also.

I tried putting the value as :
sf-options="{ setSchemaDefaults: {ngTrim :'false'}}"
and
sf-options="{ formDefaults: {ngTrim :'false'}}"

but they are not working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions