Created
July 1, 2015 21:58
-
-
Save AlexandrBasan/c3e7d59a1fca173b814a to your computer and use it in GitHub Desktop.
KnockoutJS if value != blank than show value in other case show Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-bind="text: fqdn5() === '' ? 'Default Value' : fqdn5 "></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment