Skip to content

Support for number inputs (Numeric and Integer field types). #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

eduard93
Copy link

@eduard93 eduard93 commented Sep 9, 2021

Added %Library.Integer detection as an Integer field type.
Updated ZPM module version.

Fix for #23

Added %Library.Integer detection as an Integer field type.
Updated ZPM module version.

Fix for #23
@eduard93 eduard93 requested a review from gnibeda September 9, 2021 08:00
@eduard93
Copy link
Author

eduard93 commented Sep 9, 2021

Fixes #23

@gnibeda please take a look

@@ -75,7 +75,7 @@
<!-- Numeric -->
<ng-container *ngSwitchCase="FieldType.Numeric">
<input
type="text"
type="number"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type="text" was purposefully, because styling of numeric controls on different browsers/platforms can be different. If you want this type, I'll check it later

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to send Integer/Numeric fields as numbers, not strings which input type text did.

Specific input type can be anything you think is right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants