Skip to content
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

switch在form绑定不能赋初始值, #6

Closed
1 of 3 tasks
LiangZhang opened this issue Jan 31, 2018 · 0 comments · Fixed by #7
Closed
1 of 3 tasks

switch在form绑定不能赋初始值, #6

LiangZhang opened this issue Jan 31, 2018 · 0 comments · Fixed by #7

Comments

@LiangZhang
Copy link

LiangZhang commented Jan 31, 2018

Issue Type:

  • Bug
  • Feature
  • Help

Version & Environment:

 [ngStyle]="{ 'margin-left.px': '20' }" 

formControlName="IS_ACTIVITY"
[model] = "true"
active-text="是"
inactive-text="否">

Description:
如果不设置[model],仅仅文字有Form['IS_ACTIVITY']赋初始值效果

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 a pull request may close this issue.

1 participant