Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reactive Form : NgModel delay when encapsulating a Textfield #1219

Copy link
Copy link
Open
@jolafrite

Description

@jolafrite
Issue body actions

I created my own Textfield component that extends the nativescript TextValueAccessor class to add some extra functionalities.
But when using it, I get a difference between what I type and the ngModel value.
If I type 1234 then the ngModel value will be 123.

Here a small demo : https://play.nativescript.org/?template=play-ng&id=ioUGxI&v=7

When I simplify the BaseValueAccessor onChange method to remove the debounce and directly call fn(arg) then everything works properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.