0

checkbox default checked

asked 2015-11-26 07:59:08 +0800

aliabbas gravatar image aliabbas
1 1

Hi I am facing a problem I have checkbox integraed with mvvm , I want to new record it should be checked and in edit mode it depends upon users

<checkbox id="is_active" value="@bind(juvenile.is_active)" checked="@bind(juvenile.is_active)"/>

I tried with model variable default true its on working , can any body tell me proper solution

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-26 08:28:10 +0800

Darksu gravatar image Darksu
1991 1 4

Hello aliabbas,

Please refer to the following zk fiddle:

http://zkfiddle.org/sample/3h3kf6g/3-Checkbox-MVVM-Problem#source-1

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-11-26 07:59:08 +0800

Seen: 75 times

Last updated: Nov 26 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More